From c71f172f28148417deb7eb3a6ad72fe3f4ca42db Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Thu, 21 Jan 2016 23:34:08 +0200 Subject: [PATCH] doc: this is pretty much the same example as that of `read` --- src/libstd/fs.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index 414a0ebd11fa2..4a6c7341f218c 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -378,15 +378,6 @@ impl OpenOptions { /// Creates a blank new set of options ready for configuration. /// /// All options are initially set to `false`. - /// - /// # Examples - /// - /// ```no_run - /// use std::fs::OpenOptions; - /// - /// let mut options = OpenOptions::new(); - /// let file = options.read(true).open("foo.txt"); - /// ``` #[stable(feature = "rust1", since = "1.0.0")] pub fn new() -> OpenOptions { OpenOptions(fs_imp::OpenOptions::new())