diff options
| author | The8472 <git@infinite-source.de> | 2020-12-09 21:12:39 +0100 |
|---|---|---|
| committer | The8472 <git@infinite-source.de> | 2020-12-09 21:31:37 +0100 |
| commit | 7647d03c33339bd85a1665047b22ae7e800fee98 (patch) | |
| tree | 5b5d1c7da5fea96f58854f28555c36295d41d4b2 /library/std/src/sys/unix/kernel_copy.rs | |
| parent | 028754a2f7f62ed1e4df889fadfa74eb2d007109 (diff) | |
| download | rust-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.rs | 4 |
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 |
