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 40fabb3 commit 2cf5bdfCopy full SHA for 2cf5bdf
src/yaml/encoding.rs
@@ -334,7 +334,7 @@ where
334
// units form a valid surrogate pair.
335
Some(Ok(unsafe {
336
char::from_u32_unchecked(
337
- 0x10000 + (u32::from(lead - 0xD800) << 10 | u32::from(trail - 0xDC00)),
+ 0x10000 + ((u32::from(lead - 0xD800) << 10) | u32::from(trail - 0xDC00)),
338
)
339
}))
340
}
0 commit comments