|
|
|
|
|
by tatterdemalion
3782 days ago
|
|
In Rust, the outer struct will not be freed either because you cannot pass a reference to a field of a struct before the struct is freed - you can mem::replace to get that field out of the struct, but that's rather different. |
|