We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dc7b55 commit 505bd44Copy full SHA for 505bd44
1 file changed
src/dat2.rs
@@ -472,9 +472,8 @@ impl Dat2Archive {
472
}
473
474
// 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
- });
+ self.files
+ .sort_by(|a, b| a.name.to_lowercase().cmp(&b.name.to_lowercase()));
478
479
Ok(())
480
0 commit comments