Skip to content

Commit

Permalink
Improve comment grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
the8472 committed Dec 9, 2020
1 parent 028754a commit 7647d03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/std/src/sys/unix/kernel_copy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7647d03

Please sign in to comment.