Update chars.rs

This commit is contained in:
JT 2021-10-11 07:28:33 +13:00 committed by GitHub
parent 0b35905ce9
commit ecee5a9845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,6 @@ impl Command for SubCommand {
fn split_chars(call: &Call, input: Value) -> Result<nu_protocol::Value, nu_protocol::ShellError> { fn split_chars(call: &Call, input: Value) -> Result<nu_protocol::Value, nu_protocol::ShellError> {
let span = call.head; let span = call.head;
Ok(input.flat_map(span, move |x| split_chars_helper(&x, span))) Ok(input.flat_map(span, move |x| split_chars_helper(&x, span)))
} }