Skip to content

Commit 0135851

Browse files
committed
Key-value pair stores in a list, not in a tuple
Tested on Interactive Elixir (0.11.2-dev)
1 parent a7cab56 commit 0135851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting_started/4.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ If we inspect our `HashDict`, we can see it is a simple tuple:
188188

189189
```elixir
190190
inspect(dict, raw: true)
191-
#=> { HashDict, 1, [{:hello,"world"}] }
191+
#=> "{HashDict, 1, [[:hello | \"world\"]]}"
192192
```
193193

194194
Since `HashDict` is a data structure that contains values, it would be convenient to implement the `Blank` protocol for it too:

0 commit comments

Comments
 (0)