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; /// 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