Skip to content

Commit

Permalink
Rollup merge of rust-lang#125919 - tbu-:pr_fix_typo, r=lqd
Browse files Browse the repository at this point in the history
Remove stray "this"
  • Loading branch information
Noratrieb authored Jun 4, 2024
2 parents 0ed7bbc + 4576027 commit 85d8a72
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 85d8a72

Please sign in to comment.