Skip to content

Commit 79ce085

Browse files
TheSchemmsftse
andauthored
Update src/internal/path.rs
Co-authored-by: sftse <[email protected]>
1 parent d06beb0 commit 79ce085

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/internal/path.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@ const CASE_MAPPER: CaseMapper = CaseMapper::new();
1414
/// using simple capitalization and the ability to add exceptions.
1515
/// Used when two directory entry names need to be compared.
1616
fn cfb_uppercase_char(c: char) -> char {
17-
match c {
18-
// TODO: Edge cases can be added that appear
19-
// in the table from Appendix A, <3> Section 2.6.4
17+
// TODO: Edge cases can be added that appear
18+
// in the table from Appendix A, <3> Section 2.6.4
2019

21-
// Base case, just do a simple uppercase
22-
_ => CASE_MAPPER.simple_uppercase(c),
23-
}
20+
// Base case, just do a simple uppercase
21+
CASE_MAPPER.simple_uppercase(c)
2422
}
2523

2624
/// Compares two directory entry names according to CFB ordering, which is

0 commit comments

Comments
 (0)