From d383778e7d1c368d2f5222ee78016a3993e283f9 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 15 Dec 2024 15:38:11 +0200 Subject: [PATCH] apply clippy optimization --- .../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 a5deff6a..d2be71ca 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 @@ -180,7 +180,7 @@ fn update( None, // unlimited ) { text_buffer.apply_tag(found_tag, &start, &end); - total = total + 1; + total += 1; next = end; }