From 7647d03c33339bd85a1665047b22ae7e800fee98 Mon Sep 17 00:00:00 2001 From: The8472 Date: Wed, 9 Dec 2020 21:12:39 +0100 Subject: [PATCH] Improve comment grammar --- library/std/src/sys/unix/kernel_copy.rs | 4 ++-- 1 file 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 56efc93a1e288..200dbf06ff8a6 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