Remove redundant mut.

This commit is contained in:
Tomasz Różański 2019-08-22 13:12:31 +02:00
parent 4ee6ee0daa
commit 7e13679cde

View File

@ -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