aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2018-12-07 14:58:11 +0100
committerChristian Duerr <chrisduerr@users.noreply.github.com>2018-12-07 13:58:11 +0000
commita6764ba05fee785186166c0710b08eb2a5ae302c (patch)
treea892e58d33619d142a89c874884875a159db94ee /src/lib.rs
parentcdc22ce76a8b191bfe9dbd1ef55e24ef37ac001d (diff)
downloadalacritty-a6764ba05fee785186166c0710b08eb2a5ae302c.tar.gz
alacritty-a6764ba05fee785186166c0710b08eb2a5ae302c.zip
Use tool lints for clippy allow/deny lint attributes
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 7ba3538b..8a75bf67 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -13,7 +13,7 @@
// limitations under the License.
//
//! Alacritty - The GPU Enhanced Terminal
-#![cfg_attr(feature = "cargo-clippy", deny(clippy, if_not_else, enum_glob_use, wrong_pub_self_convention))]
+#![deny(clippy::all, clippy::if_not_else, clippy::enum_glob_use, clippy::wrong_pub_self_convention)]
#![cfg_attr(feature = "nightly", feature(core_intrinsics))]
#![cfg_attr(all(test, feature = "bench"), feature(test))]
@@ -127,6 +127,6 @@ impl Mul<f32> for Rgb {
pub mod gl {
- #![cfg_attr(feature = "cargo-clippy", allow(clippy))]
+ #![allow(clippy::all)]
include!(concat!(env!("OUT_DIR"), "/gl_bindings.rs"));
}