Remove redundant mut
.
This commit is contained in:
parent
4ee6ee0daa
commit
7e13679cde
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ impl OsString {
|
|||
/// ```
|
||||
/// use std::ffi::OsString;
|
||||
///
|
||||
/// let mut os_string = OsString::with_capacity(10);
|
||||
/// let os_string = OsString::with_capacity(10);
|
||||
/// let capacity = os_string.capacity();
|
||||
///
|
||||
/// // This push is done without reallocating
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue