r/learnrust • • 6h ago

hey there!, i was searching for sober (roblox) alternative that is rewritten in rust

0 Upvotes

im just interested in this but idk ive failed finding andthing that is roblox rust rewritten


r/learnrust • • 20h ago

Borrow Checker

9 Upvotes

So , i read the original book ownership chapter it made sense but then i went to brown unverisity and boy i cant wrap my head around the same concept
see this what i know are:
1.when we create a mutable or immutable refernce to the original owner or its value with *
it removes corresponding permissions
2. When we create a reference pointing to another refernce this part i dont understnd like see above ss it says that after we assign z a mutable reference to *y , y and *y both lose write permission if they both lose write permission then how can i be able to reassign y in next step???

This is my own understanding but if u create a immutable refernce to a *y it only removes write from *y and not Y and if u make a immutbale reference to y itself it removes write from both

plus the rest of book has permisson system too so should i forget what i learned al together and focus on main book or is there a way to learn this permisson thing