1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Fix feature = "cargo-clippy" deprecation

This commit is contained in:
Dimitris Apostolou 2024-02-28 20:09:07 +02:00 committed by Christian Duerr
parent fc0455e310
commit 29f99a8ba6
3 changed files with 3 additions and 3 deletions

View file

@ -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.

View file

@ -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;

View file

@ -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;