4 ms·
This concept isn't Rust specific, it's a general PLT thing. Rust is the same as C in this regard. Almost every language is pass by value these days. IIRC Fortra
by steveklabnik 11y ago
This concept isn't Rust specific, it's a general PLT thing. Rust is the same as C in this regard. Almost every language is pass by value these days. IIRC Fortran is pass by reference, an exception.
- nickpsecurity 11y agoThen just say it's pass by reference instead of stuff I quoted. Counter anyone else doing the same in your usual, gentle style reminding how unnecessary confusion hurts adoption. Ill get back on helping find more of this stuff in the docs once im done moving. Btw, I tried to get on your draft but link didnt work by time I got back to it. Was it merged into official docs or where so I read/review the right thing?
- steveklabnik 11y agoI still failed, it's pass by value :( just like C. http://github.com/rust-lang/book http://github.com/rust-lang/book is the repo, and has a link to the rendered version.
- nickpsecurity 11y agoIt's all good. You still take the feedback and try to improve things. That's what counts. :) Thanks for the link. Ill look at it again in coming weeks.