Skip to content

Commit

Permalink
Merge 187859d into 0c8c682
Browse files Browse the repository at this point in the history
  • Loading branch information
sile committed Sep 18, 2023
2 parents 0c8c682 + 187859d commit 4012429
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rfc5245/attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ macro_rules! impl_encode {
track!(self.0.encode(buf, eos))
}

#[allow(clippy::redundant_closure_call)]
fn start_encoding(&mut self, item: Self::Item) -> Result<()> {
track!(self.0.start_encoding($map_from(item)))
}
Expand Down
1 change: 1 addition & 0 deletions src/rfc5389/attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ macro_rules! impl_encode {
track!(self.0.encode(buf, eos))
}

#[allow(clippy::redundant_closure_call)]
fn start_encoding(&mut self, item: Self::Item) -> Result<()> {
track!(self.0.start_encoding($map_from(item)))
}
Expand Down
1 change: 1 addition & 0 deletions src/rfc5766/attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ macro_rules! impl_encode {
track!(self.0.encode(buf, eos))
}

#[allow(clippy::redundant_closure_call)]
fn start_encoding(&mut self, item: Self::Item) -> Result<()> {
track!(self.0.start_encoding($map_from(item)))
}
Expand Down
1 change: 1 addition & 0 deletions src/rfc5780/attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ macro_rules! impl_encode {
track!(self.0.encode(buf, eos))
}

#[allow(clippy::redundant_closure_call)]
fn start_encoding(&mut self, item: Self::Item) -> Result<()> {
track!(self.0.start_encoding($map_from(item).into()))
}
Expand Down
1 change: 1 addition & 0 deletions src/rfc8016/attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ macro_rules! impl_encode {
track!(self.0.encode(buf, eos))
}

#[allow(clippy::redundant_closure_call)]
fn start_encoding(&mut self, item: Self::Item) -> Result<()> {
track!(self.0.start_encoding($map_from(item).into()))
}
Expand Down

0 comments on commit 4012429

Please sign in to comment.