diff options
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/os/unix/io/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/os/unix/io/mod.rs b/library/std/src/os/unix/io/mod.rs index fd1394a0520..5a7682b5079 100644 --- a/library/std/src/os/unix/io/mod.rs +++ b/library/std/src/os/unix/io/mod.rs @@ -28,7 +28,7 @@ //! - `close`, because that would end the dynamic lifetime of the resource //! without ending the lifetime of the file descriptor. //! - `dup2`/`dup3`, in the second argument, because this argument is -//! closed and replaced with a new resource, which may break the assumptions +//! closed and assigned a new resource, which may break the assumptions //! other code using that file descriptor. //! This list doesn't include `mmap`, since `mmap` does do a proper borrow of //! its file descriptor argument. That said, `mmap` is unsafe for other |
