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.
BorrowedFd
1 parent ac872ec commit 9d83018Copy full SHA for 9d83018
text/0000-io-safety.md
@@ -136,9 +136,9 @@ be gradual.
136
137
These two types are conceptual replacements for `RawFd`, and represent owned
138
and borrowed handle values. `OwnedFd` owns a file descriptor, including closing
139
-it when it's dropped. `BorrowedFd`'s lifetime parameter ties it to the lifetime
140
-of something that owns a file descriptor. These types enforce all of their I/O
141
-safety invariants automatically.
+it when it's dropped. `BorrowedFd`'s lifetime parameter says for how long
+access to this file descriptor has been borrowed. These types enforce all of
+their I/O safety invariants automatically.
142
143
For Windows, similar types, but in `Handle` and `Socket` forms.
144
0 commit comments