We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a415ddd + 7927138 commit 25245bbCopy full SHA for 25245bb
std/src/sys/pal/unix/fs.rs
@@ -1910,8 +1910,7 @@ pub fn copy(from: &Path, to: &Path) -> io::Result<u64> {
1910
// The code below ensures that `FreeOnDrop` is never a null pointer
1911
unsafe {
1912
// `copyfile_state_free` returns -1 if the `to` or `from` files
1913
- // cannot be closed. However, this is not considered this an
1914
- // error.
+ // cannot be closed. However, this is not considered an error.
1915
libc::copyfile_state_free(self.0);
1916
}
1917
0 commit comments