about summary refs log tree commit diff
path: root/src/libstd/sys
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
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')
-rw-r--r--src/libstd/sys/cloudabi/abi/cloudabi.rs2
-rw-r--r--src/libstd/sys/windows/ext/fs.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/cloudabi/abi/cloudabi.rs b/src/libstd/sys/cloudabi/abi/cloudabi.rs
index cd9a5ad448f..aac1804734a 100644
--- a/src/libstd/sys/cloudabi/abi/cloudabi.rs
+++ b/src/libstd/sys/cloudabi/abi/cloudabi.rs
@@ -107,7 +107,7 @@
 //!
 //! ## Specification of the ABI
 //!
-//! The entire ABI is specified in a a file called
+//! The entire ABI is specified in a file called
 //! [`cloudabi.txt`](https://github.com/NuxiNL/cloudabi/blob/master/cloudabi.txt),
 //! from which all
 //! [headers](https://github.com/NuxiNL/cloudabi/tree/master/headers)
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.