client-api: Prefix self-imports / re-exports by 'self::'

This commit is contained in:
Jonas Platte 2022-02-18 11:08:21 +01:00
parent 4787bab6ac
commit 65e9259a80
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67
2 changed files with 3 additions and 3 deletions

View File

@ -2,13 +2,13 @@
use std::{borrow::Cow, collections::BTreeMap};
use iter::{CapabilitiesIter, CapabilityRef};
use maplit::btreemap;
use ruma_identifiers::RoomVersionId;
use ruma_serde::StringEnum;
use serde::{Deserialize, Serialize};
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;
pub mod get_capabilities;

View File

@ -7,14 +7,14 @@ mod lazy_load;
mod url;
use js_int::UInt;
pub use lazy_load::LazyLoadOptions;
use ruma_identifiers::{RoomId, UserId};
use ruma_serde::{Outgoing, StringEnum};
use serde::Serialize;
pub use url::UrlFilter;
use crate::PrivOwnedStr;
pub use self::{lazy_load::LazyLoadOptions, url::UrlFilter};
/// Format to use for returned events.
///
/// This type can hold an arbitrary string. To check for formats that are not available as a