We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d72117 commit 1b35f74Copy full SHA for 1b35f74
library/std/src/os/unix/io/mod.rs
@@ -28,7 +28,7 @@
28
//! - `close`, because that would end the dynamic lifetime of the resource
29
//! without ending the lifetime of the file descriptor.
30
//! - `dup2`/`dup3`, in the second argument, because this argument is
31
-//! closed and replaced with a new resource, which may break the assumptions
+//! closed and assigned a new resource, which may break the assumptions
32
//! other code using that file descriptor.
33
//! This list doesn't include `mmap`, since `mmap` does do a proper borrow of
34
//! its file descriptor argument. That said, `mmap` is unsafe for other
0 commit comments