From 105c1ca7a5a787be0850371cb40f59f7d5db8ec8 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 16 Dec 2024 13:05:45 +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 683d9078..99fa5031 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 @@ -91,7 +91,7 @@ impl Navigation { match self.matches.borrow().get(next) { Some((start, end)) => { self.index.replace(next); - Some((start.clone(), end.clone())) + Some((*start, *end)) } None => { self.index.replace(0);