fix typos
This commit is contained in:
parent
82f5928ca6
commit
acc136ce0a
@ -70,14 +70,14 @@ impl AsRawFd for RawFd {
|
|||||||
}
|
}
|
||||||
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
|
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
|
||||||
impl IntoRawFd for RawFd {
|
impl IntoRawFd for RawFd {
|
||||||
fn as_raw_fd(self) -> RawFd {
|
fn into_raw_fd(self) -> RawFd {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
|
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
|
||||||
impl FromRawFd for RawFd {
|
impl FromRawFd for RawFd {
|
||||||
unsafe fn from_raw_fd(fd: RawFd) -> RawFd {
|
unsafe fn from_raw_fd(fd: RawFd) -> RawFd {
|
||||||
self
|
fd
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -71,14 +71,14 @@ impl AsRawFd for RawFd {
|
|||||||
}
|
}
|
||||||
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
|
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
|
||||||
impl IntoRawFd for RawFd {
|
impl IntoRawFd for RawFd {
|
||||||
fn as_raw_fd(self) -> RawFd {
|
fn into_raw_fd(self) -> RawFd {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
|
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
|
||||||
impl FromRawFd for RawFd {
|
impl FromRawFd for RawFd {
|
||||||
unsafe fn from_raw_fd(fd: RawFd) -> RawFd {
|
unsafe fn from_raw_fd(fd: RawFd) -> RawFd {
|
||||||
self
|
fd
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -60,14 +60,14 @@ impl AsRawFd for RawFd {
|
|||||||
}
|
}
|
||||||
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
|
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
|
||||||
impl IntoRawFd for RawFd {
|
impl IntoRawFd for RawFd {
|
||||||
fn as_raw_fd(self) -> RawFd {
|
fn into_raw_fd(self) -> RawFd {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
|
#[stable(feature = "raw_fd_reflexive_traits", since = "1.48.0")]
|
||||||
impl FromRawFd for RawFd {
|
impl FromRawFd for RawFd {
|
||||||
unsafe fn from_raw_fd(fd: RawFd) -> RawFd {
|
unsafe fn from_raw_fd(fd: RawFd) -> RawFd {
|
||||||
self
|
fd
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user