diff --git a/crates/nu-command/src/math/abs.rs b/crates/nu-command/src/math/abs.rs index e7f43205d7..95f46ef7ad 100644 --- a/crates/nu-command/src/math/abs.rs +++ b/crates/nu-command/src/math/abs.rs @@ -27,24 +27,6 @@ impl Command for SubCommand { ) -> Result { let head = call.head; input.map(move |value| abs_helper(value, head)) - // PipelineData::Value(Value::List { vals, span }) => Ok(Value::List { - // vals: vals - // .into_iter() - // .map(move |val| abs_helper(val, head)) - // .collect(), - // span, - // }), - // PipelineData::Value(other) => match abs_helper(other, head) { - // Value::Error { error } => Err(error), - // ok => Ok(nu_protocolok), - // }, - // _ => Value::Error { - // error: ShellError::UnsupportedInput( - // String::from("Only numerical values are supported"), - // head, - // ), - // }, - // } } fn examples(&self) -> Vec {