about summary refs log tree commit diff
path: root/library/std/src/sys/unix/kernel_copy.rs
diff options
context:
space:
mode:
authorThe8472 <git@infinite-source.de>2020-12-09 21:12:39 +0100
committerThe8472 <git@infinite-source.de>2020-12-09 21:31:37 +0100
commit7647d03c33339bd85a1665047b22ae7e800fee98 (patch)
tree5b5d1c7da5fea96f58854f28555c36295d41d4b2 /library/std/src/sys/unix/kernel_copy.rs
parent028754a2f7f62ed1e4df889fadfa74eb2d007109 (diff)
downloadrust-7647d03c33339bd85a1665047b22ae7e800fee98.tar.gz
rust-7647d03c33339bd85a1665047b22ae7e800fee98.zip
Improve comment grammar
Diffstat (limited to 'library/std/src/sys/unix/kernel_copy.rs')
-rw-r--r--library/std/src/sys/unix/kernel_copy.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/unix/kernel_copy.rs b/library/std/src/sys/unix/kernel_copy.rs
index 56efc93a1e2..200dbf06ff8 100644
--- a/library/std/src/sys/unix/kernel_copy.rs
+++ b/library/std/src/sys/unix/kernel_copy.rs
@@ -498,8 +498,8 @@ impl CopyResult {
 /// Thus -1 will never be overlap with a valid open file.
 const INVALID_FD: RawFd = -1;
 
-/// linux-specific implementation that will attempt to use copy_file_range for copy offloading
-/// as the name says, it only works on regular files
+/// Linux-specific implementation that will attempt to use copy_file_range for copy offloading.
+/// As the name says, it only works on regular files.
 ///
 /// Callers must handle fallback to a generic copy loop.
 /// `Fallback` may indicate non-zero number of bytes already written