mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-26 09:12:58 +02:00
Update Speaker Notes for compile-time.md (#205)
* Update Speaker Notes for compile-time.md The definition of memory leaks is indeed blurry, so it is important not have right expectations about this particular kind of error. Co-authored-by: Martin Geisler <martin@geisler.net>
This commit is contained in:
parent
79decc5540
commit
25a32abef7
@ -22,6 +22,8 @@ are:
|
||||
a value (meaning the destructor is never run).
|
||||
* You can also accidentally create a [reference cycle] with `Rc` or
|
||||
`Arc`.
|
||||
* In fact, some will consider infinitely populating a collection a memory
|
||||
leak and Rust does not protect from those.
|
||||
|
||||
For the purpose of this course, "No memory leaks" should be understood
|
||||
as "Pretty much no *accidental* memory leaks".
|
||||
|
Loading…
x
Reference in New Issue
Block a user