mirror of
https://github.com/nushell/nushell.git
synced 2025-08-16 22:01:42 +02:00
Make reduce -n
more sensible (#4791)
This commit is contained in:
@ -70,7 +70,6 @@ fn reduce_numbered_integer_addition_example() {
|
||||
r#"
|
||||
echo [1 2 3 4]
|
||||
| reduce -n { |it, acc| $acc + $it.item }
|
||||
| get item
|
||||
"#
|
||||
)
|
||||
);
|
||||
|
Reference in New Issue
Block a user