Fix clippy errors
This commit is contained in:
parent
a728b6666c
commit
438e164ffd
15 changed files with 36 additions and 36 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue