Skip to content

Commit 31f3532

Browse files
committed
Simplify core::io documentation links
Now that `Error` lives in `core::io`, doc links to it from `core` can be simplified.
1 parent ffff5fb commit 31f3532

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

library/core/src/io/error.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ pub type RawOsError = cfg_select! {
719719
///
720720
/// It is used with the [`io::Error`][error] type.
721721
///
722-
/// [error]: ../../std/io/struct.Error.html
722+
/// [error]: Error
723723
///
724724
/// # Handling errors and matching on `ErrorKind`
725725
///
@@ -949,7 +949,7 @@ pub enum ErrorKind {
949949
/// error kinds cannot be `match`ed on, and will only match a wildcard (`_`) pattern.
950950
/// New [`ErrorKind`]s might be added in the future for some of those.
951951
///
952-
/// [error]: ../../std/io/struct.Error.html
952+
/// [error]: Error
953953
#[stable(feature = "rust1", since = "1.0.0")]
954954
Other,
955955

0 commit comments

Comments
 (0)