Fix a clippy

This commit is contained in:
Peter Ammon 2025-01-01 17:42:25 -08:00
parent 7af9844de0
commit 7e9b35be48
No known key found for this signature in database

View file

@ -1751,7 +1751,7 @@ impl ReaderData {
|| !string_prefixes_string_maybe_case_insensitive( || !string_prefixes_string_maybe_case_insensitive(
autosuggestion.icase, autosuggestion.icase,
&edit.replacement, &edit.replacement,
&remaining, remaining,
) )
|| edit.replacement.len() == remaining.len() || edit.replacement.len() == remaining.len()
{ {