[*.rs] rustfmt

This commit is contained in:
Samuel Marks 2020-06-29 12:00:26 +10:00
parent 4911818fcf
commit 8d64f674a0
No known key found for this signature in database
GPG Key ID: 43FD8EDE42E1A799
3 changed files with 4 additions and 7 deletions

View File

@ -61,7 +61,7 @@
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
#![cfg_attr( #![cfg_attr(
feature = "cargo-clippy", feature = "cargo-clippy",
allow(const_static_lifetime, transmute_ptr_to_ptr), allow(const_static_lifetime, transmute_ptr_to_ptr)
)] )]
#[cfg(feature = "i128")] #[cfg(feature = "i128")]

View File

@ -1,7 +1,4 @@
#![cfg_attr( #![cfg_attr(feature = "cargo-clippy", allow(cast_lossless, string_lit_as_bytes))]
feature = "cargo-clippy",
allow(cast_lossless, string_lit_as_bytes)
)]
#![allow(non_snake_case)] #![allow(non_snake_case)]
extern crate itoa; extern crate itoa;