mirror of
https://github.com/bspeice/speice.io
synced 2024-12-22 16:48:10 -05:00
Minor wording tweak
This commit is contained in:
parent
a7811fa9b5
commit
a7957a8c80
@ -66,8 +66,8 @@ fn main() {
|
|||||||
As of the time of writing, there are five allocations that happen before `main`
|
As of the time of writing, there are five allocations that happen before `main`
|
||||||
is ever called.
|
is ever called.
|
||||||
|
|
||||||
But when we want to understand more practical situations where heap allocation
|
But when we want to understand more practically where heap allocation happens,
|
||||||
happens, we'll follow this guide:
|
we'll follow this guide:
|
||||||
|
|
||||||
- Smart pointers hold their contents in the heap
|
- Smart pointers hold their contents in the heap
|
||||||
- Collections are smart pointers for many objects at a time, and reallocate
|
- Collections are smart pointers for many objects at a time, and reallocate
|
||||||
|
Loading…
Reference in New Issue
Block a user