diff options
| author | Fenrir <[email protected]> | 2018-08-19 17:48:00 -0600 |
|---|---|---|
| committer | Fenrir <[email protected]> | 2018-08-19 17:56:18 -0600 |
| commit | 5d28bfcfd6086c3328837de9695099ea39048d0d (patch) | |
| tree | a514fde042ff2a504a03305bfe0894ff8cd8d47e /ctr-std/src/fs.rs | |
| parent | Update for latest nightly 2018-06-09 (#70) (diff) | |
| download | archived-ctru-rs-5d28bfcfd6086c3328837de9695099ea39048d0d.tar.xz archived-ctru-rs-5d28bfcfd6086c3328837de9695099ea39048d0d.zip | |
Update for nightly-2018-08-18
Diffstat (limited to 'ctr-std/src/fs.rs')
| -rw-r--r-- | ctr-std/src/fs.rs | 6 |
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> { |