Skip to content

Commit

Permalink
Unrolled build for rust-lang#125919
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#125919 - tbu-:pr_fix_typo, r=lqd

Remove stray "this"
  • Loading branch information
rust-timer committed Jun 4, 2024
2 parents 27529d5 + 4576027 commit 1291b22
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 1291b22

Please sign in to comment.