Skip to content

Commit b736c23

Browse files
authored
Fix typo in basic types (#13481)
The exclamation mark was missing in the result of the concatenation.
1 parent 63f0000 commit b736c23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/pages/getting-started/basic-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Elixir also supports string interpolation:
227227
```elixir
228228
iex> string = "world"
229229
iex> "hello #{string}!"
230-
"hello world"
230+
"hello world!"
231231
```
232232

233233
String concatenation requires both sides to be strings but interpolation supports any data type that may be converted to a string:

0 commit comments

Comments
 (0)