diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-01 11:12:17 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-01 20:20:21 +0530 |
| commit | c834fe474cfcf12191440632f932e8380ea50c4b (patch) | |
| tree | 9018c6a13272155c498bc8df036da260979a6100 /src/libstd | |
| parent | 0e9eb6022ebff46cda9fcdca50d76ae971eab61e (diff) | |
| parent | ded5781cb910d659ef77147c1186180adcede793 (diff) | |
| download | rust-c834fe474cfcf12191440632f932e8380ea50c4b.tar.gz rust-c834fe474cfcf12191440632f932e8380ea50c4b.zip | |
Rollup merge of #25014 - frewsxcv:patch-20, r=alexcrichton
The variable doesn't need to be mutable.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index 2b15a4ff83e..5a05c61e064 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -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(); /// |
