other: ignore uninlined_format_args clippy lint for now (#1004)

This commit is contained in:
Clement Tsang 2023-01-27 18:13:17 -05:00 committed by GitHub
parent 32434932a6
commit 9ad1d8f0b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -13,8 +13,7 @@ fn create_dir(dir: &Path) -> io::Result<()> {
Ok(()) => {} Ok(()) => {}
Err(err) => { Err(err) => {
eprintln!( eprintln!(
"Failed to create a directory at location {:?}, encountered error {:?}. Aborting...", "Failed to create a directory at location {dir:?}, encountered error {err:?}. Aborting...",
dir, err
); );
} }
} }

View File

@ -1,4 +1,5 @@
#![warn(rust_2018_idioms)] #![warn(rust_2018_idioms)]
#![allow(clippy::uninlined_format_args)]
#[allow(unused_imports)] #[allow(unused_imports)]
#[cfg(feature = "log")] #[cfg(feature = "log")]
#[macro_use] #[macro_use]

View File

@ -6,6 +6,7 @@
//! bottom, refer to [here](https://clementtsang.github.io/bottom/stable/). //! bottom, refer to [here](https://clementtsang.github.io/bottom/stable/).
#![warn(rust_2018_idioms)] #![warn(rust_2018_idioms)]
#![allow(clippy::uninlined_format_args)]
#[allow(unused_imports)] #[allow(unused_imports)]
#[cfg(feature = "log")] #[cfg(feature = "log")]
#[macro_use] #[macro_use]