Skip to content

Commit

Permalink
Silence clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
rakanalh committed Aug 21, 2024
1 parent 4ad49c7 commit 2866f8d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ impl RpcImplBlock {

impl_trait_methods.push(impl_trait_method);

#[allow(clippy::collapsible_else_if)]
let blanket_impl_method = if let Some(idx) = method.idx_of_working_set_arg {
// If necessary, adjust the signature to remove the working set argument.
let pre_working_set_args = arg_values.clone().take(idx);
Expand Down

0 comments on commit 2866f8d

Please sign in to comment.