Skip to content

Commit

Permalink
Merge pull request #91 from miek/clippy-fix-map-cloned
Browse files Browse the repository at this point in the history
clippy: use `cloned()` instead of `map(Arc::clone)`
  • Loading branch information
martinling authored Mar 25, 2024
2 parents f05c9cc + 007db1e commit b961828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/capture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ impl CaptureReader {
.configurations
.load()
.get(*conf)
.map(Arc::clone)
.cloned()
}

fn transfer_extended(&mut self,
Expand Down

0 comments on commit b961828

Please sign in to comment.