Skip to content

Commit

Permalink
inotify: Placate clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
VorpalBlade committed Feb 8, 2023
1 parent 94e95e1 commit 8556276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/inotify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ impl FromRawFd for Inotify {
}

impl AsFd for Inotify {
fn as_fd<'a>(&'a self) -> BorrowedFd<'a> {
fn as_fd(&'_ self) -> BorrowedFd<'_> {
self.fd.as_fd()
}
}

0 comments on commit 8556276

Please sign in to comment.