Fix clippy errors

This commit is contained in:
Igor Katson 2024-12-03 20:40:02 +00:00
parent a728b6666c
commit 438e164ffd
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
15 changed files with 36 additions and 36 deletions

View file

@ -85,7 +85,7 @@ impl<'a> FileOps<'a> {
processed_bytes: u64,
is_broken: bool,
}
impl<'a> CurrentFile<'a> {
impl CurrentFile<'_> {
fn remaining(&self) -> u64 {
self.fi.len - self.processed_bytes
}

View file

@ -23,7 +23,7 @@ impl Subscriber {
}
}
impl<'a> MakeWriter<'a> for Subscriber {
impl MakeWriter<'_> for Subscriber {
type Writer = LineWriter<Writer>;
fn make_writer(&self) -> Self::Writer {