Skip to content

Commit a2b2f71

Browse files
authored
Rollup merge of rust-lang#136906 - chenyukang:yukang-fix-136741-closure-body, r=oli-obk
Add checking for unnecessary delims in closure body Fixes rust-lang#136741
2 parents 374cc90 + cd8bab4 commit a2b2f71

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)