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