Address reviewer comments

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2022-08-11 15:52:29 +01:00
parent 1a2122fff0
commit ac70aea985
18 changed files with 74 additions and 55 deletions

View File

@@ -703,7 +703,7 @@ impl Read for File {
self.inner.read_vectored(bufs)
}
fn read_buf(&mut self, cursor: BorrowedCursor<'_, '_>) -> io::Result<()> {
fn read_buf(&mut self, cursor: BorrowedCursor<'_>) -> io::Result<()> {
self.inner.read_buf(cursor)
}
@@ -755,7 +755,7 @@ impl Read for &File {
self.inner.read(buf)
}
fn read_buf(&mut self, cursor: BorrowedCursor<'_, '_>) -> io::Result<()> {
fn read_buf(&mut self, cursor: BorrowedCursor<'_>) -> io::Result<()> {
self.inner.read_buf(cursor)
}