diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 7596350d65d3d..0dc9f7dd4a48e 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -2383,7 +2383,7 @@ mod cmd { ) -> anyhow::Result<()> { let line = args[0].parse::()?; - goto_line_internal(&mut cx.editor, NonZeroUsize::new(line)); + goto_line_impl(&mut cx.editor, NonZeroUsize::new(line)); let (view, doc) = current!(cx.editor); @@ -3383,10 +3383,10 @@ fn push_jump(editor: &mut Editor) { } fn goto_line(cx: &mut Context) { - goto_line_internal(&mut cx.editor, cx.count) + goto_line_impl(&mut cx.editor, cx.count) } -fn goto_line_internal(editor: &mut Editor, count: Option) { +fn goto_line_impl(editor: &mut Editor, count: Option) { if let Some(count) = count { push_jump(editor);