From 585d22a6129e4f76e210328387d029cbc2f537b4 Mon Sep 17 00:00:00 2001 From: Jimmy Cuadra Date: Sun, 2 Jun 2019 17:37:46 -0700 Subject: [PATCH] Run clippy on all targets and all features and fix clippy warning. --- .travis.yml | 2 +- examples/hello_world.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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); - () }), ); }