diff options
| author | Nick Cameron <nrc@ncameron.org> | 2022-08-11 15:52:29 +0100 |
|---|---|---|
| committer | Nick Cameron <nrc@ncameron.org> | 2022-08-18 10:34:40 +0100 |
| commit | ac70aea98509c33ec75208f7b42c8d905c74ebaf (patch) | |
| tree | 0ac0c2088cf39228c10a175cb6d8f3674ffef8c2 /library/std/src/sys/windows | |
| parent | 1a2122fff015d1d7fb31fe3a55e49027d67d79af (diff) | |
| download | rust-ac70aea98509c33ec75208f7b42c8d905c74ebaf.tar.gz rust-ac70aea98509c33ec75208f7b42c8d905c74ebaf.zip | |
Address reviewer comments
Signed-off-by: Nick Cameron <nrc@ncameron.org>
Diffstat (limited to 'library/std/src/sys/windows')
| -rw-r--r-- | library/std/src/sys/windows/fs.rs | 2 | ||||
| -rw-r--r-- | library/std/src/sys/windows/handle.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/windows/fs.rs b/library/std/src/sys/windows/fs.rs index bfc2477dff4..9ac7cfebbeb 100644 --- a/library/std/src/sys/windows/fs.rs +++ b/library/std/src/sys/windows/fs.rs @@ -415,7 +415,7 @@ impl File { self.handle.read_at(buf, offset) } - pub fn read_buf(&self, cursor: BorrowedCursor<'_, '_>) -> io::Result<()> { + pub fn read_buf(&self, cursor: BorrowedCursor<'_>) -> io::Result<()> { self.handle.read_buf(cursor) } diff --git a/library/std/src/sys/windows/handle.rs b/library/std/src/sys/windows/handle.rs index 0ea6876af5b..ae33d48c612 100644 --- a/library/std/src/sys/windows/handle.rs +++ b/library/std/src/sys/windows/handle.rs @@ -112,7 +112,7 @@ impl Handle { } } - pub fn read_buf(&self, mut cursor: BorrowedCursor<'_, '_>) -> io::Result<()> { + pub fn read_buf(&self, mut cursor: BorrowedCursor<'_>) -> io::Result<()> { let res = unsafe { self.synchronous_read(cursor.as_mut().as_mut_ptr(), cursor.capacity(), None) }; |
