mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 05:04:24 +00:00
Remove redundant mut
.
This commit is contained in:
parent
4ee6ee0daa
commit
7e13679cde
@ -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…
Reference in New Issue
Block a user