diff options
author | Dimitris Apostolou <dimitris.apostolou@icloud.com> | 2024-02-28 20:09:07 +0200 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2024-03-19 02:20:53 +0100 |
commit | 29f99a8ba65eea0da632e8cad0b4168ebf8e9678 (patch) | |
tree | f17edb615747ae18d61867a3486dd5e4b1ab5766 | |
parent | fc0455e310d87837b2d26e0f33c139b4660aa0d6 (diff) | |
download | alacritty-29f99a8ba65eea0da632e8cad0b4168ebf8e9678.tar.gz alacritty-29f99a8ba65eea0da632e8cad0b4168ebf8e9678.zip |
Fix feature = "cargo-clippy" deprecation
-rw-r--r-- | alacritty/src/main.rs | 2 | ||||
-rw-r--r-- | alacritty_config_derive/src/lib.rs | 2 | ||||
-rw-r--r-- | alacritty_terminal/src/lib.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/alacritty/src/main.rs b/alacritty/src/main.rs index 91d99cbe..2a60961a 100644 --- a/alacritty/src/main.rs +++ b/alacritty/src/main.rs @@ -2,7 +2,7 @@ #![warn(rust_2018_idioms, future_incompatible)] #![deny(clippy::all, clippy::if_not_else, clippy::enum_glob_use)] -#![cfg_attr(feature = "cargo-clippy", deny(warnings))] +#![cfg_attr(clippy, deny(warnings))] // With the default subsystem, 'console', windows creates an additional console // window for the program. // This is silently ignored on non-windows systems. diff --git a/alacritty_config_derive/src/lib.rs b/alacritty_config_derive/src/lib.rs index a7850529..324bce2a 100644 --- a/alacritty_config_derive/src/lib.rs +++ b/alacritty_config_derive/src/lib.rs @@ -1,5 +1,5 @@ #![deny(clippy::all, clippy::if_not_else, clippy::enum_glob_use)] -#![cfg_attr(feature = "cargo-clippy", deny(warnings))] +#![cfg_attr(clippy, deny(warnings))] use proc_macro::TokenStream; use proc_macro2::TokenStream as TokenStream2; diff --git a/alacritty_terminal/src/lib.rs b/alacritty_terminal/src/lib.rs index 7e4e68b1..7324473c 100644 --- a/alacritty_terminal/src/lib.rs +++ b/alacritty_terminal/src/lib.rs @@ -2,7 +2,7 @@ #![warn(rust_2018_idioms, future_incompatible)] #![deny(clippy::all, clippy::if_not_else, clippy::enum_glob_use)] -#![cfg_attr(feature = "cargo-clippy", deny(warnings))] +#![cfg_attr(clippy, deny(warnings))] pub mod event; pub mod event_loop; |