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/unix/fd.rs | |
| 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/unix/fd.rs')
| -rw-r--r-- | library/std/src/sys/unix/fd.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/fd.rs b/library/std/src/sys/unix/fd.rs index 76a269bb9b5..dbaa3c33e2e 100644 --- a/library/std/src/sys/unix/fd.rs +++ b/library/std/src/sys/unix/fd.rs @@ -131,7 +131,7 @@ impl FileDesc { } } - pub fn read_buf(&self, mut cursor: BorrowedCursor<'_, '_>) -> io::Result<()> { + pub fn read_buf(&self, mut cursor: BorrowedCursor<'_>) -> io::Result<()> { let ret = cvt(unsafe { libc::read( self.as_raw_fd(), |
