]> git.lizzy.rs Git - rust.git/blobdiff - src/libcore/str/mod.rs
Various minor/cosmetic improvements to code
[rust.git] / src / libcore / str / mod.rs
index 6c953d1b9a0acefb716c3a148a2817956ffe24b9..4a22d929fede0e3db0721dad190da09780b11c0a 100644 (file)
@@ -482,7 +482,7 @@ fn utf8_first_byte(byte: u8, width: u32) -> u32 { (byte & (0x7F >> width)) as u3
 #[inline]
 fn utf8_acc_cont_byte(ch: u32, byte: u8) -> u32 { (ch << 6) | (byte & CONT_MASK) as u32 }
 
-/// Checks whether the byte is a UTF-8 continuation byte (i.e. starts with the
+/// Checks whether the byte is a UTF-8 continuation byte (i.e., starts with the
 /// bits `10`).
 #[inline]
 fn utf8_is_cont_byte(byte: u8) -> bool { (byte & !CONT_MASK) == TAG_CONT_U8 }