Just removed a few comments

This commit is contained in:
Luccas Mateus de Medeiros Gomes 2021-10-25 21:11:20 -03:00
parent 2ce034d0f0
commit 11d8e6c71f

View file

@ -27,24 +27,6 @@ impl Command for SubCommand {
) -> Result<nu_protocol::PipelineData, nu_protocol::ShellError> {
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<Example> {