Why can I create two live &mut to the same variable using &mut (**ref)?
Channel:
Subscribers:
4,110
Published on ● Video Link: https://www.youtube.com/watch?v=eKfafclqcFI
Why can I create two live &mut to the same variable using &mut (**ref)?
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/5001448/jmc)JMC
(stackoverflow.com/users/5956261/jthulhu)jthulhu
(stackoverflow.com/users/147192/matthieu-m)Matthieu M.
(stackoverflow.com/users/10262805/yilmaz)Yilmaz
A special thanks goes out to the (https://stackoverflow.com/questions/76707918/why-can-i-create-two-live-mut-to-the-same-variable-using-mut-ref)Stackexchange community
I wish you all a wonderful day! Stay safe :)
rust borrow-checker
Other Videos By Peter Schneider
Tags:
rust
borrow-checker