Rollup merge of #25014 - frewsxcv:patch-20, r=alexcrichton

The variable doesn't need to be mutable.
This commit is contained in:
Manish Goregaokar 2015-05-01 11:12:17 +05:30
commit c834fe474c

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