Skip to content

Commit cd8bab4

Browse files
committed
Remove uncessary parens in closure body with unused lint
1 parent d836404 commit cd8bab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/unicode/unicode_data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ unsafe fn skip_search<const SOR: usize, const OFFSETS: usize>(
8282
let needle = needle as u32;
8383

8484
let last_idx =
85-
match short_offset_runs.binary_search_by_key(&(needle << 11), |header| (header.0 << 11)) {
85+
match short_offset_runs.binary_search_by_key(&(needle << 11), |header| header.0 << 11) {
8686
Ok(idx) => idx + 1,
8787
Err(idx) => idx,
8888
};

0 commit comments

Comments
 (0)