Run nightly cargo fmt
This commit is contained in:
parent
d0df8b495c
commit
0d55964d24
7 changed files with 30 additions and 18 deletions
|
@ -1,6 +1,8 @@
|
|||
use crate::{utils, Error, Result};
|
||||
use std::collections::HashMap;
|
||||
use std::sync::{Arc, RwLock};
|
||||
use std::{
|
||||
collections::HashMap,
|
||||
sync::{Arc, RwLock},
|
||||
};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Appservice {
|
||||
|
|
|
@ -4,10 +4,11 @@ use ruma::{
|
|||
api::federation::discovery::{ServerSigningKeys, VerifyKey},
|
||||
ServerName, ServerSigningKeyId,
|
||||
};
|
||||
use std::collections::{BTreeMap, HashMap};
|
||||
use std::sync::Arc;
|
||||
use std::sync::RwLock;
|
||||
use std::time::Duration;
|
||||
use std::{
|
||||
collections::{BTreeMap, HashMap},
|
||||
sync::{Arc, RwLock},
|
||||
time::Duration,
|
||||
};
|
||||
use trust_dns_resolver::TokioAsyncResolver;
|
||||
|
||||
pub const COUNTER: &str = "c";
|
||||
|
|
|
@ -16,8 +16,7 @@ use ruma::{
|
|||
ServerName,
|
||||
};
|
||||
use sled::IVec;
|
||||
use tokio::select;
|
||||
use tokio::sync::Semaphore;
|
||||
use tokio::{select, sync::Semaphore};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Sending {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue