An ordinary safe assignment to *some_mutable_reference
must drop the existing value or it would be a memory leak. So, pointers work the same way.
1 Like
An ordinary safe assignment to *some_mutable_reference
must drop the existing value or it would be a memory leak. So, pointers work the same way.