Skip to content

Commit

Permalink
Define allowed clippy lints in code
Browse files Browse the repository at this point in the history
Closes xiph#1744
  • Loading branch information
shssoichiro committed Oct 9, 2019
1 parent 9a0479b commit f63c070
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@
#![allow(safe_extern_statics)]
#![deny(bare_trait_objects)]
#![allow(clippy::cast_lossless)]
#![allow(clippy::cast_ptr_alignment)]
#![allow(clippy::cognitive_complexity)]
#![allow(clippy::needless_range_loop)]
#![allow(clippy::too_many_arguments)]
#![allow(clippy::verbose_bit_mask)]
#![allow(clippy::unreadable_literal)]
#![allow(clippy::many_single_char_names)]

// Override assert! and assert_eq! in tests
#[cfg(test)]
Expand Down

0 comments on commit f63c070

Please sign in to comment.