diff options
Diffstat (limited to 'src/logging.rs')
-rw-r--r-- | src/logging.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging.rs b/src/logging.rs index 5ad1dcd5..fd11a7bb 100644 --- a/src/logging.rs +++ b/src/logging.rs @@ -94,7 +94,7 @@ struct Logger { impl Logger { // False positive, see: https://github.com/rust-lang-nursery/rust-clippy/issues/734 - #[cfg_attr(feature = "cargo-clippy", allow(new_ret_no_self))] + #[allow(clippy::new_ret_no_self)] fn new(level: log::LevelFilter) -> Self { log::set_max_level(level); |