Skip to content

Commit d1dba55

Browse files
committed
Fix table literal
1 parent 9103620 commit d1dba55

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/working_with_tables.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -512,10 +512,10 @@ The `sort-by modified` now _also_ sorts the `index` along with the rest of the c
512512

513513
```nu
514514
let table = [
515-
[additions | deletions | delta ];
516-
[ 10 | 20 | -10 ]
517-
[ 15 | 5 | 10 ]
518-
[ 8 | 6 | 2 ]]
515+
[additions deletions delta ];
516+
[ 10 20 -10 ]
517+
[ 15 5 10 ]
518+
[ 8 6 2 ]]
519519
520520
let totals_row = ($table | math sum | insert index {"Totals"})
521521
$table | append $totals_row

0 commit comments

Comments
 (0)