Skip to content

Commit 505bd44

Browse files
committed
Fix format
1 parent 5dc7b55 commit 505bd44

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/dat2.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,9 +472,8 @@ impl Dat2Archive {
472472
}
473473

474474
// DAT2 format requires files to be sorted alphabetically (case-insensitive)
475-
self.files.sort_by(|a, b| {
476-
a.name.to_lowercase().cmp(&b.name.to_lowercase())
477-
});
475+
self.files
476+
.sort_by(|a, b| a.name.to_lowercase().cmp(&b.name.to_lowercase()));
478477

479478
Ok(())
480479
}

0 commit comments

Comments
 (0)