client-api: Prefix self-imports / re-exports by 'self::'
This commit is contained in:
parent
4787bab6ac
commit
65e9259a80
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
use std::{borrow::Cow, collections::BTreeMap};
|
use std::{borrow::Cow, collections::BTreeMap};
|
||||||
|
|
||||||
use iter::{CapabilitiesIter, CapabilityRef};
|
|
||||||
use maplit::btreemap;
|
use maplit::btreemap;
|
||||||
use ruma_identifiers::RoomVersionId;
|
use ruma_identifiers::RoomVersionId;
|
||||||
use ruma_serde::StringEnum;
|
use ruma_serde::StringEnum;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use serde_json::{from_value as from_json_value, to_value as to_json_value, Value as JsonValue};
|
use serde_json::{from_value as from_json_value, to_value as to_json_value, Value as JsonValue};
|
||||||
|
|
||||||
|
use self::iter::{CapabilitiesIter, CapabilityRef};
|
||||||
use crate::PrivOwnedStr;
|
use crate::PrivOwnedStr;
|
||||||
|
|
||||||
pub mod get_capabilities;
|
pub mod get_capabilities;
|
||||||
|
@ -7,14 +7,14 @@ mod lazy_load;
|
|||||||
mod url;
|
mod url;
|
||||||
|
|
||||||
use js_int::UInt;
|
use js_int::UInt;
|
||||||
pub use lazy_load::LazyLoadOptions;
|
|
||||||
use ruma_identifiers::{RoomId, UserId};
|
use ruma_identifiers::{RoomId, UserId};
|
||||||
use ruma_serde::{Outgoing, StringEnum};
|
use ruma_serde::{Outgoing, StringEnum};
|
||||||
use serde::Serialize;
|
use serde::Serialize;
|
||||||
pub use url::UrlFilter;
|
|
||||||
|
|
||||||
use crate::PrivOwnedStr;
|
use crate::PrivOwnedStr;
|
||||||
|
|
||||||
|
pub use self::{lazy_load::LazyLoadOptions, url::UrlFilter};
|
||||||
|
|
||||||
/// Format to use for returned events.
|
/// Format to use for returned events.
|
||||||
///
|
///
|
||||||
/// This type can hold an arbitrary string. To check for formats that are not available as a
|
/// This type can hold an arbitrary string. To check for formats that are not available as a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user