diff --git a/.travis.yml b/.travis.yml index 4f536691..5ec9a6a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ before_script: - "rustup component add clippy" script: - "cargo fmt --all -- --check" - - "cargo clippy -- -D warnings" + - "cargo clippy --all-targets --all-features -- -D warnings" - "cargo build --verbose" - "cargo test --verbose" notifications: diff --git a/examples/hello_world.rs b/examples/hello_world.rs index 6c062444..227af951 100644 --- a/examples/hello_world.rs +++ b/examples/hello_world.rs @@ -66,7 +66,6 @@ fn main() { tokio::run( hello_world(homeserver_url.parse().unwrap(), room).map_err(|e| { dbg!(e); - () }), ); }