From ded5781cb910d659ef77147c1186180adcede793 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Thu, 30 Apr 2015 19:20:59 -0400 Subject: [PATCH] Remove unnecessary 'mut' qualifier on doc-comment var The variable doesn't need to be mutable. --- src/libstd/fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); ///