this post was submitted on 28 Nov 2021
11 points (100.0% liked)
Rust Programming
8306 readers
12 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's a bit generalized you can leak memory in rust e.g. by keeping around old Weak pointers, also std::collections::* don't shrink by themselves.