Skip to content

Commit

Permalink
Fix broken doc links on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Mar 2, 2022
1 parent aaa1794 commit b7f5e97
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ pub type RawFilelike = RawFd;

/// A raw filelike object.
///
/// This is a portability abstraction over Unix-like [`RawFd`] and
/// Windows' `RawHandle`.
/// This is a portability abstraction over Unix-like `RawFd` and
/// Windows' [`RawHandle`].
#[cfg(windows)]
pub type RawFilelike = RawHandle;

Expand All @@ -39,8 +39,8 @@ pub type RawSocketlike = RawFd;

/// A raw socketlike object.
///
/// This is a portability abstraction over Unix-like [`RawFd`] and
/// Windows' `RawSocket`.
/// This is a portability abstraction over Unix-like `RawFd` and
/// Windows' [`RawSocket`].
#[cfg(windows)]
pub type RawSocketlike = RawSocket;

Expand All @@ -62,8 +62,8 @@ impl<T: AsRawFd> AsRawFilelike for T {
}
}

/// This is a portability abstraction over Unix-like [`AsRawFd`] and Windows'
/// `AsRawHandle`.
/// This is a portability abstraction over Unix-like `AsRawFd` and Windows'
/// [`AsRawHandle`].
#[cfg(windows)]
pub trait AsRawFilelike: AsRawHandle {
/// Returns the raw value.
Expand Down Expand Up @@ -94,8 +94,8 @@ impl<T: AsRawFd> AsRawSocketlike for T {
}
}

/// This is a portability abstraction over Unix-like [`AsRawFd`] and Windows'
/// `AsRawSocket`.
/// This is a portability abstraction over Unix-like `AsRawFd` and Windows'
/// [`AsRawSocket`].
#[cfg(windows)]
pub trait AsRawSocketlike: AsRawSocket {
/// Returns the raw value.
Expand Down Expand Up @@ -126,8 +126,8 @@ impl<T: IntoRawFd> IntoRawFilelike for T {
}
}

/// This is a portability abstraction over Unix-like [`IntoRawFd`] and Windows'
/// `IntoRawHandle`.
/// This is a portability abstraction over Unix-like `IntoRawFd` and Windows'
/// [`IntoRawHandle`].
#[cfg(windows)]
pub trait IntoRawFilelike: IntoRawHandle {
/// Returns the raw value.
Expand All @@ -150,8 +150,8 @@ pub trait IntoRawSocketlike: IntoRawFd {
fn into_raw_socketlike(self) -> RawSocketlike;
}

/// This is a portability abstraction over Unix-like [`IntoRawFd`] and Windows'
/// `IntoRawSocket`.
/// This is a portability abstraction over Unix-like `IntoRawFd` and Windows'
/// [`IntoRawSocket`].
#[cfg(windows)]
pub trait IntoRawSocketlike: IntoRawSocket {
/// Returns the raw value.
Expand Down Expand Up @@ -190,8 +190,8 @@ impl<T: FromRawFd> FromRawFilelike for T {
}
}

/// This is a portability abstraction over Unix-like [`FromRawFd`] and Windows'
/// `FromRawHandle`.
/// This is a portability abstraction over Unix-like `FromRawFd` and Windows'
/// [`FromRawHandle`].
#[cfg(windows)]
pub trait FromRawFilelike: FromRawHandle {
/// Constructs `Self` from the raw value.
Expand Down Expand Up @@ -230,8 +230,8 @@ impl<T: FromRawFd> FromRawSocketlike for T {
}
}

/// This is a portability abstraction over Unix-like [`FromRawFd`] and Windows'
/// `FromRawSocket`.
/// This is a portability abstraction over Unix-like `FromRawFd` and Windows'
/// [`FromRawSocket`].
#[cfg(windows)]
pub trait FromRawSocketlike: FromRawSocket {
/// Constructs `Self` from the raw value.
Expand Down

0 comments on commit b7f5e97

Please sign in to comment.