]> git.lizzy.rs Git - rust.git/commitdiff
Fix doc test failure for OpenOptionsExt
authorDavid LeGare <excaliburhissheath@gmail.com>
Fri, 19 May 2017 12:29:52 +0000 (07:29 -0500)
committerDavid LeGare <excaliburhissheath@gmail.com>
Fri, 19 May 2017 12:29:52 +0000 (07:29 -0500)
src/libstd/sys/windows/ext/fs.rs

index 34f3a0196cedfa16d05ae8df0d876d0e4c917866..2d00cb38ec4fcb9ba20d85f642c60c1c6140f22d 100644 (file)
@@ -241,7 +241,7 @@ pub trait OpenOptionsExt {
     ///     .create(true)
     ///
     ///     // Sets the flag value to `SecurityIdentification`.
-    ///     options.security_qos_flags(1)
+    ///     .security_qos_flags(1)
     ///
     ///     .open("foo.txt");
     /// ```