Remove redundant mut
.
This commit is contained in:
parent
4ee6ee0daa
commit
7e13679cde
@ -191,7 +191,7 @@ pub fn push<T: AsRef<OsStr>>(&mut self, s: T) {
|
|||||||
/// ```
|
/// ```
|
||||||
/// use std::ffi::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();
|
/// let capacity = os_string.capacity();
|
||||||
///
|
///
|
||||||
/// // This push is done without reallocating
|
/// // This push is done without reallocating
|
||||||
|
Loading…
Reference in New Issue
Block a user