Skip to content

Commit

Permalink
fixes clippy::needless_pass_by_ref_mut
Browse files Browse the repository at this point in the history
  • Loading branch information
wookietreiber committed May 28, 2024
1 parent b28cfa6 commit 8eb917c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,7 @@ impl Analysis {
self.insert(newfd, summary, syscall, f);
}

fn syscall_clone<F, P>(
&mut self,
cap: &Captures,
input: P,
f: F,
) -> Result<()>
fn syscall_clone<F, P>(&self, cap: &Captures, input: P, f: F) -> Result<()>
where
F: Fn(Summary) + Copy,
P: AsRef<Path>,
Expand Down

0 comments on commit 8eb917c

Please sign in to comment.