Skip to content

Commit e87befd

Browse files
committed
Fix copy/paste
1 parent b42734b commit e87befd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_posts/2014-04-21-elixir-v0-13-0-released.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Trying to create a struct with an unknown key raises an error during compilation
165165

166166
```iex
167167
iex> user = %User{address: []}
168-
** (CompileError) unknown key :unknown for struct User
168+
** (CompileError) unknown key :address for struct User
169169
```
170170

171171
Furthermore, every struct has a `__struct__` field which contains the struct name:

0 commit comments

Comments
 (0)