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() {