about summary refs log tree commit diff
path: root/library/std/src/os/fd
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-08-14 08:47:33 +0200
committerRalf Jung <post@ralfj.de>2023-08-14 08:49:40 +0200
commitb2b225e1d1e2bcdd2fabd8765b228b3480f3a998 (patch)
tree445246dd759b705e7b3433ec47d2be74ea71c3dc /library/std/src/os/fd
parenta473e95786fa2a1391903f2b3b31af5ae300a2d5 (diff)
sync the various FromRawFd trait docs, and remove 'valid'
Diffstat (limited to 'library/std/src/os/fd')
-rw-r--r--library/std/src/os/fd/raw.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/os/fd/raw.rs b/library/std/src/os/fd/raw.rs
index f80669ec708..ef896ea95c9 100644
--- a/library/std/src/os/fd/raw.rs
+++ b/library/std/src/os/fd/raw.rs
@@ -85,7 +85,7 @@ pub trait FromRawFd {
     /// # Safety
     ///
     /// The `fd` passed in must be an [owned file descriptor][io-safety];
-    /// in particular, it must be valid and open.
+    /// in particular, it must be open.
     ///
     /// [io-safety]: io#io-safety
     ///