Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
withoutboats committed Sep 20, 2020
1 parent 82f5928 commit acc136c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions library/std/src/sys/unix/ext/io.rs
Expand Up @@ -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
}
}

Expand Down
4 changes: 2 additions & 2 deletions library/std/src/sys/vxworks/ext/io.rs
Expand Up @@ -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
}
}

Expand Down
4 changes: 2 additions & 2 deletions library/std/src/sys/wasi/ext/io.rs
Expand Up @@ -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
}
}

Expand Down

0 comments on commit acc136c

Please sign in to comment.