File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
library/std/src/sys/anonymous_pipe Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ macro_rules! forward_io_read_traits {
51
51
fn read_vectored( & mut self , bufs: & mut [ io:: IoSliceMut <' _>] ) -> io:: Result <usize > {
52
52
self . 0 . read_vectored( bufs)
53
53
}
54
+ #[ inline]
54
55
fn is_read_vectored( & self ) -> bool {
55
56
self . 0 . is_read_vectored( )
56
57
}
@@ -73,13 +74,16 @@ macro_rules! forward_io_write_traits {
73
74
fn write( & mut self , buf: & [ u8 ] ) -> io:: Result <usize > {
74
75
self . 0 . write( buf)
75
76
}
77
+ #[ inline]
76
78
fn flush( & mut self ) -> io:: Result <( ) > {
77
79
Ok ( ( ) )
78
80
}
79
81
80
82
fn write_vectored( & mut self , bufs: & [ io:: IoSlice <' _>] ) -> io:: Result <usize > {
81
83
self . 0 . write_vectored( bufs)
82
84
}
85
+
86
+ #[ inline]
83
87
fn is_write_vectored( & self ) -> bool {
84
88
self . 0 . is_write_vectored( )
85
89
}
You can’t perform that action at this time.
0 commit comments