Address some clippy lints

pull/13583/head
Armando Perez 2025-05-20 22:24:59 -05:00
parent 5921185b0c
commit 2e39ffc0d5
1 changed files with 2 additions and 2 deletions

View File

@ -4683,7 +4683,7 @@ fn paste_impl(
}; };
let value = let value =
if (&selection).len() == 1 { if selection.len() == 1 {
/* /*
Special case: Special case:
If there's only one target selection, join all values with If there's only one target selection, join all values with
@ -4810,7 +4810,7 @@ fn replace_with_yanked_impl(editor: &mut Editor, register: char, count: usize) {
if !acc.is_empty() { if !acc.is_empty() {
acc.push_str(line_ending); acc.push_str(line_ending);
} }
acc.push_str(&value); acc.push_str(value);
acc acc
}, },
)) ))