mirror of
https://github.com/nushell/nushell
synced 2024-12-28 05:53:09 +00:00
Format files
This commit is contained in:
parent
81691e07c6
commit
a9cd6b4f7a
2 changed files with 2 additions and 6 deletions
|
@ -43,7 +43,5 @@ fn append(
|
||||||
let mut after: VecDeque<Tagged<Value>> = VecDeque::new();
|
let mut after: VecDeque<Tagged<Value>> = VecDeque::new();
|
||||||
after.push_back(row);
|
after.push_back(row);
|
||||||
|
|
||||||
Ok(OutputStream::from_input(
|
Ok(OutputStream::from_input(input.values.chain(after)))
|
||||||
input.values.chain(after),
|
|
||||||
))
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,5 @@ fn prepend(
|
||||||
let mut prepend: VecDeque<Tagged<Value>> = VecDeque::new();
|
let mut prepend: VecDeque<Tagged<Value>> = VecDeque::new();
|
||||||
prepend.push_back(row);
|
prepend.push_back(row);
|
||||||
|
|
||||||
Ok(OutputStream::from_input(
|
Ok(OutputStream::from_input(prepend.chain(input.values)))
|
||||||
prepend.chain(input.values),
|
|
||||||
))
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue