diff --git a/crates/nu-cli/src/commands/command.rs b/crates/nu-cli/src/commands/command.rs index 5b2884fb36..77b51a4d2a 100644 --- a/crates/nu-cli/src/commands/command.rs +++ b/crates/nu-cli/src/commands/command.rs @@ -384,18 +384,16 @@ impl WholeStreamCommand for FnFilterCommand { async fn run( &self, - args: CommandArgs, - registry: &CommandRegistry, - ) -> Result { - let CommandArgs { + CommandArgs { host, ctrl_c, shell_manager, call_info, mut input, .. - } = args; - + }: CommandArgs, + registry: &CommandRegistry, + ) -> Result { let host: Arc> = host.clone(); let registry: CommandRegistry = registry.clone(); let func = self.func;