aboutsummaryrefslogtreecommitdiff
path: root/ctr-std/src/fs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ctr-std/src/fs.rs')
-rw-r--r--ctr-std/src/fs.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ctr-std/src/fs.rs b/ctr-std/src/fs.rs
index 987687e..7632fbc 100644
--- a/ctr-std/src/fs.rs
+++ b/ctr-std/src/fs.rs
@@ -356,9 +356,9 @@ impl File {
/// use std::fs::File;
///
/// fn main() -> std::io::Result<()> {
- /// let mut f = File::open("foo.txt")?;
- /// # Ok(())
- /// # }
+ /// let mut f = File::open("foo.txt")?;
+ /// Ok(())
+ /// }
/// ```
#[stable(feature = "rust1", since = "1.0.0")]
pub fn open<P: AsRef<Path>>(path: P) -> io::Result<File> {