Run rustfmt.

This commit is contained in:
Jimmy Cuadra 2019-06-02 09:32:06 -07:00
parent 815c54f2b9
commit 97b42c9d10
4 changed files with 17 additions and 4 deletions

View File

@ -1 +0,0 @@
merge_imports = true

View File

@ -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:

View File

@ -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);
()
}),
);
}

View File

@ -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},