Skip to content

Commit 7e13679

Browse files
Remove redundant mut.
1 parent 4ee6ee0 commit 7e13679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/ffi/os_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ impl OsString {
191191
/// ```
192192
/// use std::ffi::OsString;
193193
///
194-
/// let mut os_string = OsString::with_capacity(10);
194+
/// let os_string = OsString::with_capacity(10);
195195
/// let capacity = os_string.capacity();
196196
///
197197
/// // This push is done without reallocating

0 commit comments

Comments
 (0)