case-study-borrow-checker
Bradlee Speice 2019-01-21 23:51:45 -05:00
parent b556b9c58b
commit 2bb1a818df
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ guidelines are in order:
[`HashMap`](https://doc.rust-lang.org/stable/std/collections/struct.HashMap.html)
- Enums and other wrapper types will not trigger heap allocations unless
the underlying type also needs heap allocation. You can use
[`Option`](https://doc.rust-lang.org/stable/core/option/enum.Option.html),
[`Option`](https://doc.rust-lang.org/stable/core/option/enum.Option.html) and
[`Result`](https://doc.rust-lang.org/stable/core/result/enum.Result.html)
with reckless abandon.
- [Arrays](https://doc.rust-lang.org/std/primitive.array.html) are guaranteed