File tree 3 files changed +6
-6
lines changed
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 {
70
70
}
71
71
#[ stable( feature = "raw_fd_reflexive_traits" , since = "1.48.0" ) ]
72
72
impl IntoRawFd for RawFd {
73
- fn as_raw_fd ( self ) -> RawFd {
73
+ fn into_raw_fd ( self ) -> RawFd {
74
74
self
75
75
}
76
76
}
77
77
#[ stable( feature = "raw_fd_reflexive_traits" , since = "1.48.0" ) ]
78
78
impl FromRawFd for RawFd {
79
79
unsafe fn from_raw_fd ( fd : RawFd ) -> RawFd {
80
- self
80
+ fd
81
81
}
82
82
}
83
83
Original file line number Diff line number Diff line change @@ -71,14 +71,14 @@ impl AsRawFd for RawFd {
71
71
}
72
72
#[ stable( feature = "raw_fd_reflexive_traits" , since = "1.48.0" ) ]
73
73
impl IntoRawFd for RawFd {
74
- fn as_raw_fd ( self ) -> RawFd {
74
+ fn into_raw_fd ( self ) -> RawFd {
75
75
self
76
76
}
77
77
}
78
78
#[ stable( feature = "raw_fd_reflexive_traits" , since = "1.48.0" ) ]
79
79
impl FromRawFd for RawFd {
80
80
unsafe fn from_raw_fd ( fd : RawFd ) -> RawFd {
81
- self
81
+ fd
82
82
}
83
83
}
84
84
Original file line number Diff line number Diff line change @@ -60,14 +60,14 @@ impl AsRawFd for RawFd {
60
60
}
61
61
#[ stable( feature = "raw_fd_reflexive_traits" , since = "1.48.0" ) ]
62
62
impl IntoRawFd for RawFd {
63
- fn as_raw_fd ( self ) -> RawFd {
63
+ fn into_raw_fd ( self ) -> RawFd {
64
64
self
65
65
}
66
66
}
67
67
#[ stable( feature = "raw_fd_reflexive_traits" , since = "1.48.0" ) ]
68
68
impl FromRawFd for RawFd {
69
69
unsafe fn from_raw_fd ( fd : RawFd ) -> RawFd {
70
- self
70
+ fd
71
71
}
72
72
}
73
73
You can’t perform that action at this time.
0 commit comments