tokio-xmpp: rustfmt
This commit is contained in:
parent
537b4825a8
commit
1e1f593233
9 changed files with 50 additions and 46 deletions
|
|
@ -24,10 +24,7 @@ pub async fn auth<S: AsyncRead + AsyncWrite + Unpin>(
|
|||
Box::new(|| Box::new(Anonymous::new())),
|
||||
];
|
||||
|
||||
let remote_mechs: HashSet<String> = stream
|
||||
.stream_features
|
||||
.sasl_mechanisms()?
|
||||
.collect();
|
||||
let remote_mechs: HashSet<String> = stream.stream_features.sasl_mechanisms()?.collect();
|
||||
|
||||
for local_mech in local_mechs {
|
||||
let mut mechanism = local_mech();
|
||||
|
|
|
|||
Loading…
Reference in a new issue