about summary refs log tree commit diff
path: root/src/libstd/sys/windows
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2019-01-05 23:56:59 +0800
committerGitHub <noreply@github.com>2019-01-05 23:56:59 +0800
commitab55ecf4ba607985db28678b8bbe846d567a35d5 (patch)
tree1aa4a2b518f03f4971c56cc6141096a681e9470d /src/libstd/sys/windows
parent676b0b0cc4f3a9801051696b3f7b88e75c7b9764 (diff)
parent06243b1f4d3d8aba1ef1d2050378baab689250c3 (diff)
downloadrust-ab55ecf4ba607985db28678b8bbe846d567a35d5.tar.gz
rust-ab55ecf4ba607985db28678b8bbe846d567a35d5.zip
Rollup merge of #57314 - wiktorkuchta:master, r=Centril
Fix repeated word typos

Inspired by #57295 (I skipped 'be be' because of it) and my [PR in another repo
](https://github.com/e-maxx-eng/e-maxx-eng/pull/389)
Not a stupid `sed`, I actually tried to fix case by case.
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.