Fix doctests
This commit is contained in:
parent
7a1817c9d4
commit
1230a08679
3 changed files with 6 additions and 3 deletions
|
@ -515,6 +515,7 @@ impl OpenOptions {
|
|||
/// # Examples
|
||||
///
|
||||
/// ```no_run
|
||||
/// #![feature(expand_open_options)]
|
||||
/// use std::fs::OpenOptions;
|
||||
///
|
||||
/// let file = OpenOptions::new().write(true).create_new(true).open("foo.txt");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue