about summary refs log tree commit diff
path: root/src/libstd/sys/windows/ext
diff options
context:
space:
mode:
authorDavid LeGare <excaliburhissheath@gmail.com>2017-05-19 07:29:52 -0500
committerDavid LeGare <excaliburhissheath@gmail.com>2017-05-19 07:29:52 -0500
commita89292514b6d4c4e9be7d6d527ad72e08e27173c (patch)
tree8e1723bfc9e89ee623308debce8192b7832351e8 /src/libstd/sys/windows/ext
parent4cd838b274db73be8c974e5335b28f1b6f6b75a0 (diff)
downloadrust-a89292514b6d4c4e9be7d6d527ad72e08e27173c.tar.gz
rust-a89292514b6d4c4e9be7d6d527ad72e08e27173c.zip
Fix doc test failure for OpenOptionsExt
Diffstat (limited to 'src/libstd/sys/windows/ext')
-rw-r--r--src/libstd/sys/windows/ext/fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/ext/fs.rs b/src/libstd/sys/windows/ext/fs.rs
index 34f3a0196ce..2d00cb38ec4 100644
--- a/src/libstd/sys/windows/ext/fs.rs
+++ b/src/libstd/sys/windows/ext/fs.rs
@@ -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");
     /// ```