1
Fork 0

Fix doctests

This commit is contained in:
Paul Dicker 2016-01-14 16:59:28 +01:00
parent 7a1817c9d4
commit 1230a08679
3 changed files with 6 additions and 3 deletions

View file

@ -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");