1
Fork 0

Remove unnecessary 'mut' qualifier on doc-comment var

The variable doesn't need to be mutable.
This commit is contained in:
Corey Farwell 2015-04-30 19:20:59 -04:00
parent 8a60e5667f
commit ded5781cb9

View file

@ -643,7 +643,7 @@ impl Permissions {
/// use std::fs::File;
///
/// # fn foo() -> std::io::Result<()> {
/// let mut f = try!(File::create("foo.txt"));
/// let f = try!(File::create("foo.txt"));
/// let metadata = try!(f.metadata());
/// let mut permissions = metadata.permissions();
///