Skip to content

Commit 778f9b6

Browse files
author
Lorenzo Manacorda
committed
Fix example in quote
The example prints "Got 25", not just "25"
1 parent 737bf1b commit 778f9b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/kernel/special_forms.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ defmodule Kernel.SpecialForms do
820820
821821
Returning 5
822822
Returning 5
823-
25
823+
Got 25
824824
825825
Notice how "Returning 5" was printed twice, instead of just once. This is
826826
because a macro receives an expression and not a value (which is what we

0 commit comments

Comments
 (0)