Skip to content

Commit e5722bc

Browse files
committed
fix(clippy): run clippy --fix to fix new lints
Some new lints are firing due to an update to the toolchain, fix them. Signed-off-by: Jalil David Salamé Messina <jalil.salame@gmail.com>
1 parent 73da433 commit e5722bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ impl VsockListener {
185185
}
186186

187187
/// An iterator over the connections being received on this listener.
188-
pub fn incoming(&self) -> Incoming {
188+
pub fn incoming(&self) -> Incoming<'_> {
189189
Incoming { listener: self }
190190
}
191191

@@ -217,7 +217,7 @@ impl AsRawFd for VsockListener {
217217
}
218218

219219
impl AsFd for VsockListener {
220-
fn as_fd(&self) -> BorrowedFd {
220+
fn as_fd(&self) -> BorrowedFd<'_> {
221221
self.socket.as_fd()
222222
}
223223
}
@@ -534,7 +534,7 @@ impl AsRawFd for VsockStream {
534534
}
535535

536536
impl AsFd for VsockStream {
537-
fn as_fd(&self) -> BorrowedFd {
537+
fn as_fd(&self) -> BorrowedFd<'_> {
538538
self.socket.as_fd()
539539
}
540540
}

0 commit comments

Comments
 (0)