Skip to content

Commit

Permalink
Remove unnecessary 'mut' qualifier on doc-comment var
Browse files Browse the repository at this point in the history
The variable doesn't need to be mutable.
  • Loading branch information
frewsxcv committed Apr 30, 2015
1 parent 8a60e56 commit ded5781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/fs.rs
Expand Up @@ -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();
///
Expand Down

0 comments on commit ded5781

Please sign in to comment.