about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Spieß <business@minn.dev>2022-07-06 11:57:58 +0200
committerGitHub <noreply@github.com>2022-07-06 11:57:58 +0200
commit75967cdad508c8410b4967d41c92fe982d660987 (patch)
tree51e7acd7588155bc5876662c544c2580fb2515bd
parent5b8cf49c51833ee5d27ae2e8e179337dbb9f14d7 (diff)
downloadrust-75967cdad508c8410b4967d41c92fe982d660987.tar.gz
rust-75967cdad508c8410b4967d41c92fe982d660987.zip
Fix typo in file descriptor docs
-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 345beb1824d..ff4e25b792a 100644
--- a/library/std/src/os/fd/raw.rs
+++ b/library/std/src/os/fd/raw.rs
@@ -73,7 +73,7 @@ pub trait FromRawFd {
     ///
     /// # Safety
     ///
-    /// The `fd` passed in must be a valid an open file descriptor.
+    /// The `fd` passed in must be a valid and open file descriptor.
     ///
     /// # Example
     ///