diff --git a/.rustfmt.toml b/.rustfmt.toml index 7d2cf549..e86028b1 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -1 +1 @@ -merge_imports = true +imports_granularity="Crate" diff --git a/benches/rotation.rs b/benches/rotation.rs index de108dab..4167331f 100644 --- a/benches/rotation.rs +++ b/benches/rotation.rs @@ -1,5 +1,7 @@ -use std::thread; -use std::time::{Duration, Instant}; +use std::{ + thread, + time::{Duration, Instant}, +}; use lazy_static::lazy_static; use tempfile::{tempdir, TempDir}; diff --git a/src/append/rolling_file/policy/compound/roll/fixed_window.rs b/src/append/rolling_file/policy/compound/roll/fixed_window.rs index 43611617..340ddd05 100644 --- a/src/append/rolling_file/policy/compound/roll/fixed_window.rs +++ b/src/append/rolling_file/policy/compound/roll/fixed_window.rs @@ -12,8 +12,7 @@ use std::{ path::{Path, PathBuf}, }; -use crate::append::env_util::expand_env_vars; -use crate::append::rolling_file::policy::compound::roll::Roll; +use crate::append::{env_util::expand_env_vars, rolling_file::policy::compound::roll::Roll}; #[cfg(feature = "config_parsing")] use crate::config::{Deserialize, Deserializers};