Why is it considered safe to `mem::forget` Boxes?

Subscribers:
4,110
Published on ● Video Link: https://www.youtube.com/watch?v=3rJEB5m_aS8



Duration: 3:53
1 views
0


Why is it considered safe to `mem::forget` Boxes?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(stackoverflow.com/users/12155405/doliphin)doliphin |
(stackoverflow.com/users/5436257/joe-clay)Joe Clay |
(stackoverflow.com/users/6333444/mousetail)mousetail |
(stackoverflow.com/users/1937198/user1937198)user1937198 |
A special thanks goes out to the (https://stackoverflow.com/questions/74824779/why-is-it-considered-safe-to-memforget-boxes)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

rust unsafe







Tags:
rust
unsafe