We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d37f38 commit 12c085aCopy full SHA for 12c085a
1 file changed
library/core/src/num/mod.rs
@@ -809,6 +809,7 @@ impl u8 {
809
ascii::escape_default(self)
810
}
811
812
+ #[inline]
813
pub(crate) const fn is_utf8_char_boundary(self) -> bool {
814
// This is bit magic equivalent to: b < 128 || b >= 192
815
(self as i8) >= -0x40
0 commit comments