diff options
author | Aaron Hill <aa1ronham@gmail.com> | 2017-09-27 20:29:44 -0400 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-09-27 17:29:44 -0700 |
commit | 5f7885749c4d7e48869b1fc0be4d430601cdbbfa (patch) | |
tree | 77916f2d24f71c846700139bbeaacec1f8699928 /src/lib.rs | |
parent | eb231b3e70b87875df4bdd1974d5e94704024d70 (diff) | |
download | alacritty-5f7885749c4d7e48869b1fc0be4d430601cdbbfa.tar.gz alacritty-5f7885749c4d7e48869b1fc0be4d430601cdbbfa.zip |
Use clippy = "*", update, and fix some warnings (#796)
Because there are so many clippy warnings in the current codebase,
this commit removes '#![cfg_attr(feature = "clippy", deny(clippy))]',
to make it easier to fix warnings incrementally.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,6 @@ //! Alacritty - The GPU Enhanced Terminal #![cfg_attr(feature = "clippy", feature(plugin))] #![cfg_attr(feature = "clippy", plugin(clippy))] -#![cfg_attr(feature = "clippy", deny(clippy))] #![cfg_attr(feature = "clippy", deny(enum_glob_use))] #![cfg_attr(feature = "clippy", deny(if_not_else))] #![cfg_attr(feature = "clippy", deny(wrong_pub_self_convention))] @@ -103,6 +102,7 @@ impl Mul<f32> for Rgb { #[cfg_attr(feature = "clippy", allow(too_many_arguments))] #[cfg_attr(feature = "clippy", allow(doc_markdown))] +#[cfg_attr(feature = "clippy", allow(unreadable_literal))] pub mod gl { #![allow(non_upper_case_globals)] include!(concat!(env!("OUT_DIR"), "/gl_bindings.rs")); |