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:
parent
fc0455e310
commit
29f99a8ba6
3 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue