We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d836404 commit cd8bab4Copy full SHA for cd8bab4
core/src/unicode/unicode_data.rs
@@ -82,7 +82,7 @@ unsafe fn skip_search<const SOR: usize, const OFFSETS: usize>(
82
let needle = needle as u32;
83
84
let last_idx =
85
- match short_offset_runs.binary_search_by_key(&(needle << 11), |header| (header.0 << 11)) {
+ match short_offset_runs.binary_search_by_key(&(needle << 11), |header| header.0 << 11) {
86
Ok(idx) => idx + 1,
87
Err(idx) => idx,
88
};
0 commit comments