We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 10be6e6 + f2f8bbc commit f7df83dCopy full SHA for f7df83d
src/librustc_unicode/char.rs
@@ -392,7 +392,7 @@ impl char {
392
C::len_utf16(self)
393
}
394
395
- /// Returns an interator over the bytes of this character as UTF-8.
+ /// Returns an iterator over the bytes of this character as UTF-8.
396
///
397
/// The returned iterator also has an `as_slice()` method to view the
398
/// encoded bytes as a byte slice.
@@ -415,7 +415,7 @@ impl char {
415
C::encode_utf8(self)
416
417
418
- /// Returns an interator over the `u16` entries of this character as UTF-16.
+ /// Returns an iterator over the `u16` entries of this character as UTF-16.
419
420
421
/// encoded form as a slice.
0 commit comments