From df6d04425d130f385c4314ed944d5a27963ae9a3 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 15 Nov 2022 23:34:00 +0900 Subject: fix build --- helix-term/src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index e56c2b67..f5bf6bf1 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1835,7 +1835,7 @@ fn make_search_word_bounded(cx: &mut Context) { } let msg = format!("register '{}' set to '{}'", '/', &new_regex); - cx.editor.registers.get_mut('/').push(new_regex); + cx.editor.registers.push('/', new_regex); cx.editor.set_status(msg); } -- cgit v1.2.3-70-g09d2