about summary refs log tree commit diff
path: root/src/libstd/sys/windows
diff options
context:
space:
mode:
authorWiktor Kuchta <wiktorkuchta@protonmail.com>2019-01-03 21:27:50 +0100
committerWiktor Kuchta <wiktorkuchta@protonmail.com>2019-01-03 21:33:37 +0100
commit190d139f3aa0613a8b639bae742561ff89c8fbc7 (patch)
tree764c4695c325898c6e85fc82a1af1f668e524caa /src/libstd/sys/windows
parentc0bbc3927e28c22edefe6a1353b5ecc95ea9a104 (diff)
downloadrust-190d139f3aa0613a8b639bae742561ff89c8fbc7.tar.gz
rust-190d139f3aa0613a8b639bae742561ff89c8fbc7.zip
Fix repeated word typos
Found with `git grep -P '\b([a-z]+)\s+\1\b'`
Diffstat (limited to 'src/libstd/sys/windows')
-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 8eaf58aed32..6342af46daf 100644
--- a/src/libstd/sys/windows/ext/fs.rs
+++ b/src/libstd/sys/windows/ext/fs.rs
@@ -126,7 +126,7 @@ pub trait OpenOptionsExt {
     ///
     /// By default `share_mode` is set to
     /// `FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE`. This allows
-    /// other processes to to read, write, and delete/rename the same file
+    /// other processes to read, write, and delete/rename the same file
     /// while it is open. Removing any of the flags will prevent other
     /// processes from performing the corresponding operation until the file
     /// handle is closed.