about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-08-14 13:28:51 +0200
committerRalf Jung <post@ralfj.de>2023-08-14 13:28:51 +0200
commit03c28d5626dd1e2077593fe57eff658e15958f0d (patch)
tree6243dc386901c70942f74182849f2d73260001a6
parent4da08115132c55289905e9304d202464bd46f059 (diff)
downloadrust-03c28d5626dd1e2077593fe57eff658e15958f0d.tar.gz
rust-03c28d5626dd1e2077593fe57eff658e15958f0d.zip
don't link to RFCs, they are not up-to-date docs
-rw-r--r--library/std/src/io/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs
index 5a9a5067957..dd178b357df 100644
--- a/library/std/src/io/mod.rs
+++ b/library/std/src/io/mod.rs
@@ -240,7 +240,7 @@
 //!
 //! ## I/O Safety
 //!
-//! Rust follows an [I/O safety] discipline that is comparable to its memory safety discipline. This
+//! Rust follows an I/O safety discipline that is comparable to its memory safety discipline. This
 //! means that file descriptors can be *exclusively owned*. (Here, "file descriptor" is meant to
 //! subsume similar concepts that exist across a wide range of operating systems even if they might
 //! use a different name, such as "handle".) An exclusively owned file descriptor is one that no
@@ -280,7 +280,6 @@
 //! [`?` operator]: ../../book/appendix-02-operators.html
 //! [`Result`]: crate::result::Result
 //! [`.unwrap()`]: crate::result::Result::unwrap
-//! [I/O safety]: https://rust-lang.github.io/rfcs/3128-io-safety.html
 //! [`os::unix`]: ../os/unix/io/index.html
 //! [`os::windows`]: ../os/windows/io/index.html
 //! [`OwnedFd`]: ../os/fd/struct.OwnedFd.html