Skip to content

Commit 01e2631

Browse files
committed
style: fix formatting
1 parent 954f5bc commit 01e2631

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎crates/cleanser-core/src/scanner.rs‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,15 @@ fn check_large_dir(path: &Path, min_size: u64) -> Option<CleanableItem> {
221221

222222
// Skip user content directories
223223
let name = path.file_name()?.to_string_lossy().to_lowercase();
224-
if ["downloads", "documents", "desktop", "pictures", "movies", "music"].contains(&name.as_str())
224+
if [
225+
"downloads",
226+
"documents",
227+
"desktop",
228+
"pictures",
229+
"movies",
230+
"music",
231+
]
232+
.contains(&name.as_str())
225233
{
226234
return None;
227235
}

0 commit comments

Comments
 (0)