From 54901cded67d29b5f2d373cfad8359d061fb5c39 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 16 Dec 2024 12:59:36 +0200 Subject: [PATCH] apply clippy optimizations --- .../window/tab/item/page/content/text/search/navigation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/browser/window/tab/item/page/content/text/search/navigation.rs b/src/app/browser/window/tab/item/page/content/text/search/navigation.rs index f72761d1..683d9078 100644 --- a/src/app/browser/window/tab/item/page/content/text/search/navigation.rs +++ b/src/app/browser/window/tab/item/page/content/text/search/navigation.rs @@ -75,7 +75,7 @@ impl Navigation { } else { index }); - Some((start.clone(), end.clone())) + Some((*start, *end)) } None => { self.index