diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index 237c5ed4..366e1548 100644 --- a/helix-term/src/commands/typed.rs +++ b/helix-term/src/commands/typed.rs @@ -2614,7 +2614,7 @@ fn trim_whitespace_impl(doc: &Document, selection: &Selection) -> Transaction { Transaction::delete(doc.text(), deletions.into_iter().rev()) } -fn trim_whitespace(cx: &mut compositor::Context, _args: Args, event: PromptEvent) -> anyhow::Result<()> { +fn trim_whitespace(cx: &mut compositor::Context, _args: &[Cow], event: PromptEvent) -> anyhow::Result<()> { if event != PromptEvent::Validate { return Ok(()); }