From df6d04425d130f385c4314ed944d5a27963ae9a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Tue, 15 Nov 2022 23:34:00 +0900 Subject: [PATCH] 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 e56c2b678..f5bf6bf1a 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); }