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.
mut
1 parent 4ee6ee0 commit 7e13679Copy full SHA for 7e13679
src/libstd/ffi/os_str.rs
@@ -191,7 +191,7 @@ impl OsString {
191
/// ```
192
/// use std::ffi::OsString;
193
///
194
- /// let mut os_string = OsString::with_capacity(10);
+ /// let os_string = OsString::with_capacity(10);
195
/// let capacity = os_string.capacity();
196
197
/// // This push is done without reallocating
0 commit comments