Skip to content

Commit 5f49010

Browse files
authored
Fix example typo in thinking_in_nu.md (#1736)
1 parent d90c3f3 commit 5f49010

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/thinking_in_nu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ print $p
194194
$p * 6
195195
```
196196

197-
1. Line 1: The integer 5 is assigned to `$p`, but the return value of the
197+
1. Line 1: The integer 7 is assigned to `$p`, but the return value of the
198198
[`let` command](/commands/docs/let.md) itself is `null`. However, because it is not the last
199199
value in the expression, it is not displayed.
200200
2. Line 2: The return value of the `print` command itself is `null`, but the `print` command
201-
forces its argument (`$p`, which is 5) to be _displayed_. As with Line 1, the `null` return value
201+
forces its argument (`$p`, which is 7) to be _displayed_. As with Line 1, the `null` return value
202202
is discarded since this isn't the last value in the expression.
203203
3. Line 3: Evaluates to the integer value 42. As the last value in the expression, this is the return
204204
result, and is also displayed (rendered).

0 commit comments

Comments
 (0)