mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-14 19:16:02 -04:00
fixing formatting
This commit is contained in:
@@ -545,7 +545,7 @@ pub(crate) mod testing {
|
||||
use matrix_sdk_common::locks::Mutex;
|
||||
use ruma::{
|
||||
api::{client::r0::keys::get_keys::Response as KeyQueryResponse, IncomingResponse},
|
||||
DeviceId, UserId, device_id, user_id,
|
||||
device_id, user_id, DeviceId, UserId,
|
||||
};
|
||||
use serde_json::json;
|
||||
|
||||
@@ -746,10 +746,8 @@ pub(crate) mod testing {
|
||||
pub(crate) mod test {
|
||||
use matrix_sdk_test::async_test;
|
||||
|
||||
use super::testing::{manager, device_id, other_key_query, other_user_id};
|
||||
use ruma::{
|
||||
DeviceId, UserId, device_id, user_id,
|
||||
};
|
||||
use super::testing::{device_id, manager, other_key_query, other_user_id};
|
||||
use ruma::{device_id, user_id, DeviceId, UserId};
|
||||
|
||||
#[async_test]
|
||||
async fn test_manager_creation() {
|
||||
|
||||
@@ -989,7 +989,7 @@ pub(crate) mod test {
|
||||
use matrix_sdk_test::async_test;
|
||||
use ruma::{api::client::r0::keys::get_keys::Response as KeyQueryResponse, user_id};
|
||||
|
||||
use super::testing::{get_other_identity, get_own_identity, device};
|
||||
use super::testing::{device, get_other_identity, get_own_identity};
|
||||
use super::{ReadOnlyOwnUserIdentity, ReadOnlyUserIdentities, ReadOnlyUserIdentity};
|
||||
use crate::{
|
||||
identities::{
|
||||
|
||||
@@ -18,6 +18,7 @@ use std::{
|
||||
sync::{Arc, RwLock},
|
||||
};
|
||||
|
||||
use crate::safe_encode::SafeEncode;
|
||||
use dashmap::DashSet;
|
||||
use indexed_db_futures::prelude::*;
|
||||
use matrix_sdk_common::{
|
||||
@@ -25,7 +26,6 @@ use matrix_sdk_common::{
|
||||
locks::Mutex,
|
||||
ruma::{DeviceId, RoomId, TransactionId, UserId},
|
||||
};
|
||||
use crate::safe_encode::SafeEncode;
|
||||
use wasm_bindgen::JsValue;
|
||||
|
||||
use anyhow::anyhow;
|
||||
|
||||
@@ -12,4 +12,4 @@ mod cryptostore;
|
||||
pub use cryptostore::IndexeddbStore as CryptoStore;
|
||||
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
pub use state_store::IndexeddbStore as StateStore;
|
||||
pub use state_store::IndexeddbStore as StateStore;
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
use std::collections::BTreeSet;
|
||||
|
||||
use crate::safe_encode::SafeEncode;
|
||||
use futures_util::stream;
|
||||
use indexed_db_futures::prelude::*;
|
||||
use matrix_sdk_common::{
|
||||
@@ -31,7 +32,6 @@ use matrix_sdk_common::{
|
||||
EventId, MxcUri, RoomId, RoomVersionId, UserId,
|
||||
},
|
||||
};
|
||||
use crate::safe_encode::SafeEncode;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use tracing::{info, warn};
|
||||
use wasm_bindgen::JsValue;
|
||||
|
||||
Reference in New Issue
Block a user