From 29f99a8ba65eea0da632e8cad0b4168ebf8e9678 Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Wed, 28 Feb 2024 20:09:07 +0200 Subject: [PATCH] Fix feature = "cargo-clippy" deprecation --- alacritty/src/main.rs | 2 +- alacritty_config_derive/src/lib.rs | 2 +- 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;