mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2024-12-25 21:58:26 +01:00
Fix typo in 03_leak.md (#220)
Corrected a confusing sentence with double negative.
This commit is contained in:
parent
4b02e92691
commit
0419e2e8b2
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ When the process exits, the operating system will reclaim that memory.
|
||||||
|
|
||||||
Keeping this in mind, it can be OK to leak memory when:
|
Keeping this in mind, it can be OK to leak memory when:
|
||||||
|
|
||||||
- The amount of memory you need to leak is not unbounded/known upfront, or
|
- The amount of memory you need to leak is bounded/known upfront, or
|
||||||
- Your process is short-lived and you're confident you won't exhaust
|
- Your process is short-lived and you're confident you won't exhaust
|
||||||
all the available memory before it exits
|
all the available memory before it exits
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue