mirror of
https://github.com/nushell/nushell
synced 2025-01-15 14:44:14 +00:00
revert temp val
This commit is contained in:
parent
beb15dcc77
commit
0b35905ce9
1 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,8 @@ impl Command for SubCommand {
|
|||
fn split_chars(call: &Call, input: Value) -> Result<nu_protocol::Value, nu_protocol::ShellError> {
|
||||
let span = call.head;
|
||||
|
||||
let temp = input.flat_map(span, move |x| split_chars_helper(&x, span));
|
||||
Ok(temp)
|
||||
|
||||
Ok(input.flat_map(span, move |x| split_chars_helper(&x, span)))
|
||||
}
|
||||
|
||||
fn split_chars_helper(v: &Value, name: Span) -> Vec<Value> {
|
||||
|
|
Loading…
Reference in a new issue