@@ -85,7 +85,7 @@ impl FileDesc {
8585
8686 #[ cfg( target_os = "espidf" ) ]
8787 pub fn read_vectored ( & self , bufs : & mut [ IoSliceMut < ' _ > ] ) -> io:: Result < usize > {
88- return crate :: io:: default_read_vectored ( |b| self . read ( b) , bufs) ;
88+ io:: default_read_vectored ( |b| self . read ( b) , bufs)
8989 }
9090
9191 #[ inline]
@@ -142,7 +142,7 @@ impl FileDesc {
142142
143143 #[ cfg( target_os = "espidf" ) ]
144144 pub fn read_vectored_at ( & self , bufs : & mut [ IoSliceMut < ' _ > ] , offset : u64 ) -> io:: Result < usize > {
145- return crate :: io:: default_read_vectored ( |b| self . read_at ( b, offset) , bufs) ;
145+ io:: default_read_vectored ( |b| self . read_at ( b, offset) , bufs)
146146 }
147147
148148 pub fn write ( & self , buf : & [ u8 ] ) -> io:: Result < usize > {
@@ -170,7 +170,7 @@ impl FileDesc {
170170
171171 #[ cfg( target_os = "espidf" ) ]
172172 pub fn write_vectored ( & self , bufs : & [ IoSlice < ' _ > ] ) -> io:: Result < usize > {
173- return crate :: io:: default_write_vectored ( |b| self . write ( b) , bufs) ;
173+ io:: default_write_vectored ( |b| self . write ( b) , bufs)
174174 }
175175
176176 #[ inline]
@@ -222,7 +222,7 @@ impl FileDesc {
222222
223223 #[ cfg( target_os = "espidf" ) ]
224224 pub fn write_vectored_at ( & self , bufs : & [ IoSlice < ' _ > ] , offset : u64 ) -> io:: Result < usize > {
225- return crate :: io:: default_write_vectored ( |b| self . write_at ( b, offset) , bufs) ;
225+ io:: default_write_vectored ( |b| self . write_at ( b, offset) , bufs)
226226 }
227227
228228 #[ cfg( target_os = "linux" ) ]
0 commit comments