I am writing Rust.
The code on the left compiles.
The code on the right does not compile. It produces the error on the righter right.
Why? how is it possible that rearranging code like this could make such a substantial difference?
My assumption is in a C-shaped languages expressions are executed from inner to outer. Neither of the types of the self. functions return a reference type.
QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.