about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorRageking8 <tomleetyt@gmail.com>2022-10-14 00:25:34 +0800
committerRageking8 <tomleetyt@gmail.com>2022-10-14 12:57:56 +0800
commit7122abaddf2cf10ce26f86305ff540ae5b38c097 (patch)
tree0b15091f50495c8af2c553c1efee8cd286506a4f /library/std/src
parent4891d57f7aab37b5d6a84f2901c0bb8903111d53 (diff)
downloadrust-7122abaddf2cf10ce26f86305ff540ae5b38c097.tar.gz
rust-7122abaddf2cf10ce26f86305ff540ae5b38c097.zip
more dupe word typos
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/process.rs2
-rw-r--r--library/std/src/sys/unix/process/process_fuchsia.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/process.rs b/library/std/src/process.rs
index e08ea8f9a5f..b8249a027ad 100644
--- a/library/std/src/process.rs
+++ b/library/std/src/process.rs
@@ -1629,7 +1629,7 @@ impl ExitStatusError {
     ///
     /// This is exactly like [`code()`](Self::code), except that it returns a `NonZeroI32`.
     ///
-    /// Plain `code`, returning a plain integer, is provided because is is often more convenient.
+    /// Plain `code`, returning a plain integer, is provided because it is often more convenient.
     /// The returned value from `code()` is indeed also nonzero; use `code_nonzero()` when you want
     /// a type-level guarantee of nonzeroness.
     ///
diff --git a/library/std/src/sys/unix/process/process_fuchsia.rs b/library/std/src/sys/unix/process/process_fuchsia.rs
index 73f5d3a618b..66ea3db2015 100644
--- a/library/std/src/sys/unix/process/process_fuchsia.rs
+++ b/library/std/src/sys/unix/process/process_fuchsia.rs
@@ -287,7 +287,7 @@ impl ExitStatus {
         // SuS and POSIX) say a wait status is, but Fuchsia apparently uses a u64, so it won't
         // necessarily fit.
         //
-        // It seems to me that that the right answer would be to provide std::os::fuchsia with its
+        // It seems to me that the right answer would be to provide std::os::fuchsia with its
         // own ExitStatusExt, rather that trying to provide a not very convincing imitation of
         // Unix.  Ie, std::os::unix::process:ExitStatusExt ought not to exist on Fuchsia.  But
         // fixing this up that is beyond the scope of my efforts now.