diff options
| author | Tomasz Różański <rosto@tlen.pl> | 2019-08-22 13:12:31 +0200 |
|---|---|---|
| committer | Tomasz Różański <rosto@tlen.pl> | 2019-08-22 13:12:31 +0200 |
| commit | 7e13679cdedab8e39275c3138e0bfa795541ab67 (patch) | |
| tree | e75c7bfac573f0c3f4c7a4b4532337f0874f74e6 /src/libstd | |
| parent | 4ee6ee0daa13d53564f64932fa1e2ad37be7d879 (diff) | |
| download | rust-7e13679cdedab8e39275c3138e0bfa795541ab67.tar.gz rust-7e13679cdedab8e39275c3138e0bfa795541ab67.zip | |
Remove redundant `mut`.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/ffi/os_str.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/ffi/os_str.rs b/src/libstd/ffi/os_str.rs index 1f384cbada3..fbdb577a7f0 100644 --- a/src/libstd/ffi/os_str.rs +++ b/src/libstd/ffi/os_str.rs @@ -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 |
