- in rust ownership gets transfered in between functions if not passed as reference
- use reference (&) wherever you want to ensure ownership
- cannot add a mutable and immutable refernce at a time
- scope of referenced variables are only valid till the point the variable is used
ownership
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||