about summary refs log tree commit diff
path: root/library/std/src/sys
diff options
context:
space:
mode:
authorRageking8 <tomleetyt@gmail.com>2022-10-13 00:12:19 +0800
committerRageking8 <tomleetyt@gmail.com>2022-10-13 00:53:46 +0800
commitd1982bd0af0ac3e9bc0b1e3bf596a1a5c84e60af (patch)
tree0ea5cee5b1a24c63436fd259e5bad2306e6b7fce /library/std/src/sys
parent50f6d337c632cbb5bd1dc3a80b5d428cebd8dce4 (diff)
downloadrust-d1982bd0af0ac3e9bc0b1e3bf596a1a5c84e60af.tar.gz
rust-d1982bd0af0ac3e9bc0b1e3bf596a1a5c84e60af.zip
fix small word dupe typos
Diffstat (limited to 'library/std/src/sys')
-rw-r--r--library/std/src/sys/unix/kernel_copy.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/kernel_copy.rs b/library/std/src/sys/unix/kernel_copy.rs
index 8f7abb55e23..94546ca09d0 100644
--- a/library/std/src/sys/unix/kernel_copy.rs
+++ b/library/std/src/sys/unix/kernel_copy.rs
@@ -20,7 +20,7 @@
 //! Since those syscalls have requirements that cannot be fully checked in advance and
 //! gathering additional information about file descriptors would require additional syscalls
 //! anyway it simply attempts to use them one after another (guided by inaccurate hints) to
-//! figure out which one works and and falls back to the generic read-write copy loop if none of them
+//! figure out which one works and falls back to the generic read-write copy loop if none of them
 //! does.
 //! Once a working syscall is found for a pair of file descriptors it will be called in a loop
 //! until the copy operation is completed.