diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2018-12-07 14:58:11 +0100 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-12-07 13:58:11 +0000 |
commit | a6764ba05fee785186166c0710b08eb2a5ae302c (patch) | |
tree | a892e58d33619d142a89c874884875a159db94ee /src/logging.rs | |
parent | cdc22ce76a8b191bfe9dbd1ef55e24ef37ac001d (diff) | |
download | alacritty-a6764ba05fee785186166c0710b08eb2a5ae302c.tar.gz alacritty-a6764ba05fee785186166c0710b08eb2a5ae302c.zip |
Use tool lints for clippy allow/deny lint attributes
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); |