commit
cdcf6374b6
|
@ -68,7 +68,7 @@ macro_rules! benches {
|
|||
}
|
||||
}
|
||||
|
||||
benches!{
|
||||
benches! {
|
||||
bench_u64_0(0u64),
|
||||
bench_u64_half(<u32>::max_value() as u64),
|
||||
bench_u64_max(<u64>::max_value()),
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
|
||||
#![cfg_attr(
|
||||
feature = "cargo-clippy",
|
||||
allow(const_static_lifetime, transmute_ptr_to_ptr),
|
||||
allow(const_static_lifetime, transmute_ptr_to_ptr)
|
||||
)]
|
||||
|
||||
#[cfg(feature = "i128")]
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
#![cfg_attr(
|
||||
feature = "cargo-clippy",
|
||||
allow(cast_lossless, string_lit_as_bytes)
|
||||
)]
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(cast_lossless, string_lit_as_bytes))]
|
||||
#![allow(non_snake_case)]
|
||||
|
||||
extern crate itoa;
|
||||
|
@ -32,7 +29,7 @@ macro_rules! test {
|
|||
}
|
||||
}
|
||||
|
||||
test!{
|
||||
test! {
|
||||
test_u64_0(0u64, "0"),
|
||||
test_u64_half(<u32>::max_value() as u64, "4294967295"),
|
||||
test_u64_max(<u64>::max_value(), "18446744073709551615"),
|
||||
|
|
Loading…
Reference in New Issue