Skip to content

Commit 6f635d4

Browse files
authored
Add missing 'end' to example in docs (#15846)
1 parent 3b5bcaa commit 6f635d4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎lib/elixir/pages/meta-programming/macros.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ defmacro if(clause, do: expression) do
9898
case unquote(clause) do
9999
x when x in [false, nil] -> nil
100100
_ -> unquote(expression)
101+
end
101102
end
102103
end
103104
```

0 commit comments

Comments
 (0)