Skip to content

Commit df672eb

Browse files
committed
Remove problematic documentation links.
This is a separated commit to be easy to reverse later.
1 parent 4e4a615 commit df672eb

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

library/std/src/io/error.rs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,12 @@ use crate::{error, fmt, result, sys};
3434
/// While usual Rust style is to import types directly, aliases of [`Result`]
3535
/// often are not, to make it easier to distinguish between them. [`Result`] is
3636
/// generally assumed to be [`std::result::Result`][`Result`], and so users of this alias
37-
/// will generally use `io::Result` instead of shadowing the [prelude]'s import
37+
/// will generally use `io::Result` instead of shadowing the prelude's import
3838
/// of [`std::result::Result`][`Result`].
3939
///
4040
/// [`std::io`]: crate::io
4141
/// [`io::Error`]: Error
4242
/// [`Result`]: crate::result::Result
43-
/// [prelude]: crate::prelude
4443
///
4544
/// # Examples
4645
///
@@ -61,16 +60,11 @@ use crate::{error, fmt, result, sys};
6160
#[doc(search_unbox)]
6261
pub type Result<T> = result::Result<T, Error>;
6362

64-
/// The error type for I/O operations of the [`Read`], [`Write`], [`Seek`], and
65-
/// associated traits.
63+
/// The error type for I/O operations.
6664
///
6765
/// Errors mostly originate from the underlying OS, but custom instances of
6866
/// `Error` can be created with crafted error messages and a particular value of
6967
/// [`ErrorKind`].
70-
///
71-
/// [`Read`]: crate::io::Read
72-
/// [`Write`]: crate::io::Write
73-
/// [`Seek`]: crate::io::Seek
7468
#[stable(feature = "rust1", since = "1.0.0")]
7569
pub struct Error {
7670
repr: Repr,
@@ -140,7 +134,7 @@ enum ErrorData<C> {
140134
Custom(C),
141135
}
142136

143-
/// The type of raw OS error codes returned by [`Error::raw_os_error`].
137+
/// The type of raw OS error codes.
144138
///
145139
/// This is an [`i32`] on all currently supported platforms, but platforms
146140
/// added in the future (such as UEFI) may use a different primitive type like

0 commit comments

Comments
 (0)