diff --git a/benches/bench.rs b/benches/bench.rs index c3b5500..a9ed517 100644 --- a/benches/bench.rs +++ b/benches/bench.rs @@ -68,7 +68,7 @@ macro_rules! benches { } } -benches!{ +benches! { bench_u64_0(0u64), bench_u64_half(::max_value() as u64), bench_u64_max(::max_value()), diff --git a/src/lib.rs b/src/lib.rs index fe55012..f7eedac 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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")] diff --git a/tests/test.rs b/tests/test.rs index dd8d494..5355868 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -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(::max_value() as u64, "4294967295"), test_u64_max(::max_value(), "18446744073709551615"),