diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2024-06-04 08:25:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-04 08:25:49 +0100 |
| commit | a04a6038bb634607d278805199894dc19527b422 (patch) | |
| tree | 618af55d33d2daec90e4a6f7ba74f13fe1f5476a /library/std/src/sys | |
| parent | 6abb7fba12566f799b16108989c2d547d8fb1c5f (diff) | |
| parent | 45760276fd27086995d07abeae9f7e86660c2e3c (diff) | |
Rollup merge of #125919 - tbu-:pr_fix_typo, r=lqd
Remove stray "this"
Diffstat (limited to 'library/std/src/sys')
| -rw-r--r-- | library/std/src/sys/pal/unix/fs.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/std/src/sys/pal/unix/fs.rs b/library/std/src/sys/pal/unix/fs.rs index fbbd40bfb79..a79a232e3d5 100644 --- a/library/std/src/sys/pal/unix/fs.rs +++ b/library/std/src/sys/pal/unix/fs.rs @@ -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); } } |
