diff options
author | Dimitris Apostolou <dimitris.apostolou@icloud.com> | 2024-02-28 20:09:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-28 22:09:07 +0400 |
commit | 93e3de7c31ba48945d0bafca6cb6523b32abe0bc (patch) | |
tree | c7acd8ef86b793a737d660ab6f2c8ae2a07a5fa2 | |
parent | 37349c4566a1431b5becbb649dec536ecbe18e71 (diff) | |
download | alacritty-93e3de7c31ba48945d0bafca6cb6523b32abe0bc.tar.gz alacritty-93e3de7c31ba48945d0bafca6cb6523b32abe0bc.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; |