This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
devlogs:7_5_2022 [2022/05/08 14:47] root |
devlogs:7_5_2022 [2023/10/19 15:25] (current) |
||
---|---|---|---|
Line 242: | Line 242: | ||
//Taken from the rust docs.. Again please read that. and not this... | //Taken from the rust docs.. Again please read that. and not this... | ||
</ | </ | ||
+ | |||
+ | S1 gets ownership from the functions return. | ||
+ | |||
+ | S2 is moved into the function and then is returend back to s3 | ||