File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ impl File {
202202 match self . 0 { }
203203 }
204204
205- pub fn can_read_vectored ( & self ) -> bool {
205+ pub fn is_read_vectored ( & self ) -> bool {
206206 match self . 0 { }
207207 }
208208
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ impl TcpStream {
4747 match self . 0 { }
4848 }
4949
50- pub fn can_read_vectored ( & self ) -> bool {
50+ pub fn is_read_vectored ( & self ) -> bool {
5151 match self . 0 { }
5252 }
5353
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ impl AnonPipe {
1212 match self . 0 { }
1313 }
1414
15- pub fn can_read_vectored ( & self ) -> bool {
15+ pub fn is_read_vectored ( & self ) -> bool {
1616 match self . 0 { }
1717 }
1818
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ impl TcpStream {
151151
152152 #[ inline]
153153 pub fn is_read_vectored ( & self ) -> bool {
154- self . inner . inner . can_read_vectored ( )
154+ self . inner . inner . is_read_vectored ( )
155155 }
156156
157157 pub fn write ( & self , buf : & [ u8 ] ) -> io:: Result < usize > {
Original file line number Diff line number Diff line change @@ -614,8 +614,8 @@ impl io::Read for UnixStream {
614614 }
615615
616616 #[ inline]
617- fn can_read_vectored ( & self ) -> bool {
618- io:: Read :: can_read_vectored ( & & * self )
617+ fn is_read_vectored ( & self ) -> bool {
618+ io:: Read :: is_read_vectored ( & & * self )
619619 }
620620
621621 #[ inline]
@@ -635,8 +635,8 @@ impl<'a> io::Read for &'a UnixStream {
635635 }
636636
637637 #[ inline]
638- fn can_read_vectored ( & self ) -> bool {
639- self . 0 . can_read_vectored ( )
638+ fn is_read_vectored ( & self ) -> bool {
639+ self . 0 . is_read_vectored ( )
640640 }
641641
642642 #[ inline]
@@ -677,7 +677,7 @@ impl<'a> io::Write for &'a UnixStream {
677677
678678 #[ inline]
679679 fn is_write_vectored ( & self ) -> bool {
680- self . 0 . can_write_vectored ( )
680+ self . 0 . is_write_vectored ( )
681681 }
682682
683683 fn flush ( & mut self ) -> io:: Result < ( ) > {
You can’t perform that action at this time.
0 commit comments