Skip to content

Commit

Permalink
chore: update deprecated merge_imports && fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed Dec 5, 2023
1 parent 5d9ae3a commit 8ab10b5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
merge_imports = true
imports_granularity="Crate"
6 changes: 4 additions & 2 deletions benches/rotation.rs
Original file line number Diff line number Diff line change
@@ -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};
Expand Down
3 changes: 1 addition & 2 deletions src/append/rolling_file/policy/compound/roll/fixed_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Expand Down

0 comments on commit 8ab10b5

Please sign in to comment.