Commit f5f5fb7
authored
Fix swapped closure parameters (nushell#1974)
As per [`reduce` command documentation examples][reduce], the reduce closure has parameters `|it, acc|`.
This accidental swap was part of the introduction of the example in nushell#1928.
[reduce]: https://www.nushell.sh/commands/docs/reduce.html1 parent 31e9861 commit f5f5fb7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
0 commit comments