style: minor changes
This commit is contained in:
parent
ce98afb11d
commit
fd94ea3304
src
@ -11,7 +11,7 @@ impl UserData for Client {
|
||||
Ok(this.0.rooms().into_iter().map(Room).collect::<Vec<_>>())
|
||||
});
|
||||
f.add_field_method_get("user_id", |_, this| {
|
||||
Ok(this.0.user_id().map(std::string::ToString::to_string))
|
||||
Ok(this.0.user_id().map(ToString::to_string))
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
use std::time::Duration;
|
||||
|
||||
use anyhow::{Context, Result};
|
||||
use futures::StreamExt;
|
||||
use log::{error, info, warn};
|
||||
@ -17,6 +15,7 @@ use matrix_sdk::{
|
||||
},
|
||||
},
|
||||
};
|
||||
use std::time::Duration;
|
||||
use tokio::time::sleep;
|
||||
|
||||
async fn confirm_emojis(sas: SasVerification, emoji: [Emoji; 7]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user