Skip to content

Commit

Permalink
Rollup merge of #125919 - tbu-:pr_fix_typo, r=lqd
Browse files Browse the repository at this point in the history
Remove stray "this"
  • Loading branch information
jieyouxu authored Jun 4, 2024
2 parents 6abb7fb + 4576027 commit a04a603
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions library/std/src/sys/pal/unix/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1910,8 +1910,7 @@ pub fn copy(from: &Path, to: &Path) -> io::Result<u64> {
// The code below ensures that `FreeOnDrop` is never a null pointer
unsafe {
// `copyfile_state_free` returns -1 if the `to` or `from` files
// cannot be closed. However, this is not considered this an
// error.
// cannot be closed. However, this is not considered an error.
libc::copyfile_state_free(self.0);
}
}
Expand Down

0 comments on commit a04a603

Please sign in to comment.