Skip to content

Commit baa0e53

Browse files
committed
Fix rustfmt warnings
1 parent bde3ea8 commit baa0e53

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/util.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,11 @@ pub fn resolve_path(path: impl AsRef<Path>) -> Result<PathBuf> {
408408
/// Convert a string to lowercase, with a fast path for ASCII strings.
409409
pub fn to_lowercase(s: impl AsRef<str>) -> String {
410410
let s = s.as_ref();
411-
if s.is_ascii() { s.to_ascii_lowercase() } else { s.to_lowercase() }
411+
if s.is_ascii() {
412+
s.to_ascii_lowercase()
413+
} else {
414+
s.to_lowercase()
415+
}
412416
}
413417

414418
#[cfg(test)]

0 commit comments

Comments
 (0)