Run rustfmt.
This commit is contained in:
parent
815c54f2b9
commit
97b42c9d10
@ -1 +0,0 @@
|
||||
merge_imports = true
|
@ -1,4 +1,10 @@
|
||||
language: "rust"
|
||||
before_script:
|
||||
- "rustup component add rustfmt"
|
||||
script:
|
||||
- "cargo fmt --all -- --check"
|
||||
- "cargo build --verbose"
|
||||
- "cargo test --verbose"
|
||||
notifications:
|
||||
email: false
|
||||
irc:
|
||||
|
@ -63,6 +63,10 @@ fn main() {
|
||||
}
|
||||
};
|
||||
|
||||
tokio::run(hello_world(homeserver_url.parse().unwrap(), room)
|
||||
.map_err(|e| { dbg!(e); () }));
|
||||
tokio::run(
|
||||
hello_world(homeserver_url.parse().unwrap(), room).map_err(|e| {
|
||||
dbg!(e);
|
||||
()
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
@ -3,7 +3,11 @@
|
||||
#![deny(missing_debug_implementations)]
|
||||
#![deny(missing_docs)]
|
||||
|
||||
use std::{convert::TryInto, str::FromStr, sync::{Arc, Mutex}};
|
||||
use std::{
|
||||
convert::TryInto,
|
||||
str::FromStr,
|
||||
sync::{Arc, Mutex},
|
||||
};
|
||||
|
||||
use futures::{
|
||||
future::{Future, FutureFrom, IntoFuture},
|
||||
|
Loading…
x
Reference in New Issue
Block a user