Skip to content

Commit 25245bb

Browse files
authored
Rollup merge of rust-lang#125919 - tbu-:pr_fix_typo, r=lqd
Remove stray "this"
2 parents a415ddd + 7927138 commit 25245bb

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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)