Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ struct R {
}
```

If we didn't have the `Option` in the above struct, there would be no way to
If we didn't have the `Box` in the above struct, there would be no way to
instantiate the struct and Rust would signal an error.

Structs with no fields do not use braces in either their definition or literal
Expand Down