From 007db1e985c2d19c2e40883d05b22308eb2cc855 Mon Sep 17 00:00:00 2001 From: Mike Walters Date: Mon, 25 Mar 2024 18:23:01 +0000 Subject: [PATCH] clippy: use `cloned()` instead of `map(Arc::clone)` --- src/capture.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/capture.rs b/src/capture.rs index 1cc73e21..ff2af8c7 100644 --- a/src/capture.rs +++ b/src/capture.rs @@ -971,7 +971,7 @@ impl CaptureReader { .configurations .load() .get(*conf) - .map(Arc::clone) + .cloned() } fn transfer_extended(&mut self,