Skip to content

Commit 79d604d

Browse files
committed
more rustfmt
1 parent aedec9a commit 79d604d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dropshot/src/logging.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,8 @@ mod test {
444444
fs::write(&logpath, "").expect("writing empty file");
445445

446446
// Windows paths need to have \ turned into \\
447-
let escaped_path = logpath.display().to_string().escape_default().to_string();
447+
let escaped_path =
448+
logpath.display().to_string().escape_default().to_string();
448449

449450
let bad_config = format!(
450451
r#"
@@ -478,7 +479,8 @@ mod test {
478479
let time_before = chrono::offset::Utc::now();
479480

480481
// Windows paths need to have \ turned into \\
481-
let escaped_path = logpath.display().to_string().escape_default().to_string();
482+
let escaped_path =
483+
logpath.display().to_string().escape_default().to_string();
482484

483485
/* The first attempt should succeed. The log file doesn't exist yet. */
484486
let config = format!(

0 commit comments

Comments
 (0)