Suppress some clippy lints
This commit is contained in:
parent
37d2fda49b
commit
a3dadb1557
|
@ -1,4 +1,7 @@
|
||||||
#![cfg_attr(feature = "i128", feature(i128_type, i128))]
|
#![cfg_attr(feature = "i128", feature(i128_type, i128))]
|
||||||
|
|
||||||
|
#![cfg_attr(feature = "cargo-clippy", allow(cast_lossless))]
|
||||||
|
|
||||||
#![feature(test)]
|
#![feature(test)]
|
||||||
#![allow(non_snake_case)]
|
#![allow(non_snake_case)]
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
|
|
||||||
#![cfg_attr(feature = "i128", feature(i128_type, i128))]
|
#![cfg_attr(feature = "i128", feature(i128_type, i128))]
|
||||||
|
|
||||||
|
#![cfg_attr(feature = "cargo-clippy", allow(cast_lossless, unreadable_literal))]
|
||||||
|
|
||||||
#[cfg(feature = "i128")]
|
#[cfg(feature = "i128")]
|
||||||
mod udiv128;
|
mod udiv128;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
#![cfg_attr(feature = "i128", feature(i128_type, i128))]
|
#![cfg_attr(feature = "i128", feature(i128_type, i128))]
|
||||||
|
|
||||||
|
#![cfg_attr(feature = "cargo-clippy", allow(cast_lossless, string_lit_as_bytes))]
|
||||||
|
|
||||||
#![allow(non_snake_case)]
|
#![allow(non_snake_case)]
|
||||||
|
|
||||||
extern crate itoa;
|
extern crate itoa;
|
||||||
|
|
Loading…
Reference in New Issue