From 11d8e6c71ff957ed6b7e30cf4821059e926e3f32 Mon Sep 17 00:00:00 2001 From: Luccas Mateus de Medeiros Gomes Date: Mon, 25 Oct 2021 21:11:20 -0300 Subject: [PATCH] Just removed a few comments --- crates/nu-command/src/math/abs.rs | 18 ------------------ 1 file changed, 18 deletions(-) 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 {