fix typos

This commit is contained in:
Without Boats 2020-09-20 13:32:49 +02:00
parent 82f5928ca6
commit acc136ce0a
3 changed files with 6 additions and 6 deletions

View File

@ -70,14 +70,14 @@ impl AsRawFd for RawFd {
}
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
impl IntoRawFd for RawFd {
fn as_raw_fd(self) -> RawFd {
fn into_raw_fd(self) -> RawFd {
self
}
}
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
impl FromRawFd for RawFd {
unsafe fn from_raw_fd(fd: RawFd) -> RawFd {
self
fd
}
}

View File

@ -71,14 +71,14 @@ impl AsRawFd for RawFd {
}
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
impl IntoRawFd for RawFd {
fn as_raw_fd(self) -> RawFd {
fn into_raw_fd(self) -> RawFd {
self
}
}
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
impl FromRawFd for RawFd {
unsafe fn from_raw_fd(fd: RawFd) -> RawFd {
self
fd
}
}

View File

@ -60,14 +60,14 @@ impl AsRawFd for RawFd {
}
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
impl IntoRawFd for RawFd {
fn as_raw_fd(self) -> RawFd {
fn into_raw_fd(self) -> RawFd {
self
}
}
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
impl FromRawFd for RawFd {
unsafe fn from_raw_fd(fd: RawFd) -> RawFd {
self
fd
}
}