From bf290a96482c029785267701a362c73d894b8482 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 15 Dec 2024 17:30:39 +0200 Subject: [PATCH] remove extra clone --- .../tab/item/page/content/text/gemini/reader/widget/find.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/browser/window/tab/item/page/content/text/gemini/reader/widget/find.rs b/src/app/browser/window/tab/item/page/content/text/gemini/reader/widget/find.rs index b90cf948..6fec9f9f 100644 --- a/src/app/browser/window/tab/item/page/content/text/gemini/reader/widget/find.rs +++ b/src/app/browser/window/tab/item/page/content/text/gemini/reader/widget/find.rs @@ -148,7 +148,7 @@ fn find( None, // unlimited ) { text_buffer.apply_tag(found_tag, &start, &end); - next = end.clone(); + next = end; result.push((start, end)); } result