Skip to content

Commit 1291b22

Browse files
authored
Unrolled build for rust-lang#125919
Rollup merge of rust-lang#125919 - tbu-:pr_fix_typo, r=lqd Remove stray "this"
2 parents 27529d5 + 4576027 commit 1291b22

File tree

1 file changed

+1
-2
lines changed
  • library/std/src/sys/pal/unix

1 file changed

+1
-2
lines changed

library/std/src/sys/pal/unix/fs.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1910,8 +1910,7 @@ pub fn copy(from: &Path, to: &Path) -> io::Result<u64> {
19101910
// The code below ensures that `FreeOnDrop` is never a null pointer
19111911
unsafe {
19121912
// `copyfile_state_free` returns -1 if the `to` or `from` files
1913-
// cannot be closed. However, this is not considered this an
1914-
// error.
1913+
// cannot be closed. However, this is not considered an error.
19151914
libc::copyfile_state_free(self.0);
19161915
}
19171916
}

0 commit comments

Comments
 (0)