From 7e9b35be486af25bf38ca0510c71ba957b33c194 Mon Sep 17 00:00:00 2001 From: Peter Ammon Date: Wed, 1 Jan 2025 17:42:25 -0800 Subject: [PATCH] Fix a clippy --- src/reader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reader.rs b/src/reader.rs index 3ac74c970..e75519816 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -1751,7 +1751,7 @@ impl ReaderData { || !string_prefixes_string_maybe_case_insensitive( autosuggestion.icase, &edit.replacement, - &remaining, + remaining, ) || edit.replacement.len() == remaining.len() {