File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -70,14 +70,14 @@ impl AsRawFd for RawFd {
7070}
7171#[ stable( feature = "raw_fd_reflexive_traits" , since = "1.48.0" ) ]
7272impl IntoRawFd for RawFd {
73- fn as_raw_fd ( self ) -> RawFd {
73+ fn into_raw_fd ( self ) -> RawFd {
7474 self
7575 }
7676}
7777#[ stable( feature = "raw_fd_reflexive_traits" , since = "1.48.0" ) ]
7878impl FromRawFd for RawFd {
7979 unsafe fn from_raw_fd ( fd : RawFd ) -> RawFd {
80- self
80+ fd
8181 }
8282}
8383
Original file line number Diff line number Diff line change @@ -71,14 +71,14 @@ impl AsRawFd for RawFd {
7171}
7272#[ stable( feature = "raw_fd_reflexive_traits" , since = "1.48.0" ) ]
7373impl IntoRawFd for RawFd {
74- fn as_raw_fd ( self ) -> RawFd {
74+ fn into_raw_fd ( self ) -> RawFd {
7575 self
7676 }
7777}
7878#[ stable( feature = "raw_fd_reflexive_traits" , since = "1.48.0" ) ]
7979impl FromRawFd for RawFd {
8080 unsafe fn from_raw_fd ( fd : RawFd ) -> RawFd {
81- self
81+ fd
8282 }
8383}
8484
Original file line number Diff line number Diff line change @@ -60,14 +60,14 @@ impl AsRawFd for RawFd {
6060}
6161#[ stable( feature = "raw_fd_reflexive_traits" , since = "1.48.0" ) ]
6262impl IntoRawFd for RawFd {
63- fn as_raw_fd ( self ) -> RawFd {
63+ fn into_raw_fd ( self ) -> RawFd {
6464 self
6565 }
6666}
6767#[ stable( feature = "raw_fd_reflexive_traits" , since = "1.48.0" ) ]
6868impl FromRawFd for RawFd {
6969 unsafe fn from_raw_fd ( fd : RawFd ) -> RawFd {
70- self
70+ fd
7171 }
7272}
7373
You can’t perform that action at this time.
0 commit comments