Skip to content

Commit

Permalink
style: make clippy happy again
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriele Baldoni <[email protected]>
  • Loading branch information
gabrik committed Jan 17, 2025
1 parent 9080286 commit 948b991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zrpc-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ struct ServiceGenerator<'a> {
tout: &'a u16,
}

impl<'a> ServiceGenerator<'a> {
impl ServiceGenerator<'_> {
// parses the server trait
fn trait_service(&self) -> TokenStream2 {
let &Self {
Expand Down Expand Up @@ -583,7 +583,7 @@ impl<'a> ServiceGenerator<'a> {
}

/// Converts ServiceGenerator to actual code
impl<'a> ToTokens for ServiceGenerator<'a> {
impl ToTokens for ServiceGenerator<'_> {
fn to_tokens(&self, output: &mut TokenStream2) {
output.extend(vec![
self.trait_service(),
Expand Down

0 comments on commit 948b991

Please sign in to comment.