We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
String
1 parent 4010980 commit 16e6d20Copy full SHA for 16e6d20
alloc/src/string.rs
@@ -116,7 +116,7 @@ use crate::vec::Vec;
116
/// `String`s are always valid UTF-8. If you need a non-UTF-8 string, consider
117
/// [`OsString`]. It is similar, but without the UTF-8 constraint. Because UTF-8
118
/// is a variable width encoding, `String`s are typically smaller than an array of
119
-/// the same `chars`:
+/// the same `char`s:
120
///
121
/// ```
122
/// use std::mem;
0 commit comments