File tree Expand file tree Collapse file tree 8 files changed +13
-0
lines changed Expand file tree Collapse file tree 8 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -791,6 +791,7 @@ impl Write for &File {
791
791
self . inner . is_write_vectored ( )
792
792
}
793
793
794
+ #[ inline]
794
795
fn flush ( & mut self ) -> io:: Result < ( ) > {
795
796
self . inner . flush ( )
796
797
}
@@ -836,6 +837,7 @@ impl Write for File {
836
837
fn is_write_vectored ( & self ) -> bool {
837
838
( & & * self ) . is_write_vectored ( )
838
839
}
840
+ #[ inline]
839
841
fn flush ( & mut self ) -> io:: Result < ( ) > {
840
842
( & * self ) . flush ( )
841
843
}
@@ -881,6 +883,7 @@ impl Write for Arc<File> {
881
883
fn is_write_vectored ( & self ) -> bool {
882
884
( & * * self ) . is_write_vectored ( )
883
885
}
886
+ #[ inline]
884
887
fn flush ( & mut self ) -> io:: Result < ( ) > {
885
888
( & * * self ) . flush ( )
886
889
}
Original file line number Diff line number Diff line change @@ -310,6 +310,7 @@ impl<'a> Write for BorrowedCursor<'a> {
310
310
Ok ( buf. len ( ) )
311
311
}
312
312
313
+ #[ inline]
313
314
fn flush ( & mut self ) -> Result < ( ) > {
314
315
Ok ( ( ) )
315
316
}
Original file line number Diff line number Diff line change @@ -647,6 +647,7 @@ impl Write for TcpStream {
647
647
self . 0 . is_write_vectored ( )
648
648
}
649
649
650
+ #[ inline]
650
651
fn flush ( & mut self ) -> io:: Result < ( ) > {
651
652
Ok ( ( ) )
652
653
}
@@ -685,6 +686,7 @@ impl Write for &TcpStream {
685
686
self . 0 . is_write_vectored ( )
686
687
}
687
688
689
+ #[ inline]
688
690
fn flush ( & mut self ) -> io:: Result < ( ) > {
689
691
Ok ( ( ) )
690
692
}
Original file line number Diff line number Diff line change @@ -712,6 +712,7 @@ impl<'a> io::Write for &'a UnixStream {
712
712
self . 0 . is_write_vectored ( )
713
713
}
714
714
715
+ #[ inline]
715
716
fn flush ( & mut self ) -> io:: Result < ( ) > {
716
717
Ok ( ( ) )
717
718
}
Original file line number Diff line number Diff line change @@ -280,6 +280,7 @@ impl Write for ChildStdin {
280
280
io:: Write :: is_write_vectored ( & & * self )
281
281
}
282
282
283
+ #[ inline]
283
284
fn flush ( & mut self ) -> io:: Result < ( ) > {
284
285
( & * self ) . flush ( )
285
286
}
@@ -299,6 +300,7 @@ impl Write for &ChildStdin {
299
300
self . inner . is_write_vectored ( )
300
301
}
301
302
303
+ #[ inline]
302
304
fn flush ( & mut self ) -> io:: Result < ( ) > {
303
305
Ok ( ( ) )
304
306
}
Original file line number Diff line number Diff line change @@ -335,6 +335,7 @@ impl File {
335
335
false
336
336
}
337
337
338
+ #[ inline]
338
339
pub fn flush ( & self ) -> io:: Result < ( ) > {
339
340
Ok ( ( ) )
340
341
}
Original file line number Diff line number Diff line change @@ -1227,6 +1227,7 @@ impl File {
1227
1227
self . 0 . write_vectored_at ( bufs, offset)
1228
1228
}
1229
1229
1230
+ #[ inline]
1230
1231
pub fn flush ( & self ) -> io:: Result < ( ) > {
1231
1232
Ok ( ( ) )
1232
1233
}
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ impl io::Write for Stdout {
54
54
true
55
55
}
56
56
57
+ #[ inline]
57
58
fn flush ( & mut self ) -> io:: Result < ( ) > {
58
59
Ok ( ( ) )
59
60
}
@@ -81,6 +82,7 @@ impl io::Write for Stderr {
81
82
true
82
83
}
83
84
85
+ #[ inline]
84
86
fn flush ( & mut self ) -> io:: Result < ( ) > {
85
87
Ok ( ( ) )
86
88
}
You can’t perform that action at this time.
0 commit comments