about summary refs log tree commit diff
path: root/library/std/src/sys/unix/kernel_copy.rs
diff options
context:
space:
mode:
authorFrank Steffahn <frank.steffahn@stu.uni-kiel.de>2021-12-14 15:23:34 +0100
committerFrank Steffahn <frank.steffahn@stu.uni-kiel.de>2021-12-14 16:40:43 +0100
commita957cefda63c76c7a91a705f683be45c684d4303 (patch)
treeeb1e40688623beacc96cf77d3721d21f6ee97e86 /library/std/src/sys/unix/kernel_copy.rs
parent404c8471aba60c2d837fa728e7c729a0f52d5830 (diff)
downloadrust-a957cefda63c76c7a91a705f683be45c684d4303.tar.gz
rust-a957cefda63c76c7a91a705f683be45c684d4303.zip
Fix a bunch of typos
Diffstat (limited to 'library/std/src/sys/unix/kernel_copy.rs')
-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 241cf89d314..e85e4c5d618 100644
--- a/library/std/src/sys/unix/kernel_copy.rs
+++ b/library/std/src/sys/unix/kernel_copy.rs
@@ -104,7 +104,7 @@ impl FdMeta {
 
     fn potential_sendfile_source(&self) -> bool {
         match self {
-            // procfs erronously shows 0 length on non-empty readable files.
+            // procfs erroneously shows 0 length on non-empty readable files.
             // and if a file is truly empty then a `read` syscall will determine that and skip the write syscall
             // thus there would be benefit from attempting sendfile
             FdMeta::Metadata(meta)