Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's a great resource. I like such easy list approach, because many times new language just needs a translation from concepts you already know.

I have a problem understanding how temporaries work in Rust. At least from what I see there is a difference between a temporary inside a vec that I bind somewhere to then pass it somewhere and a temporary inside vec constructed inside method invocation. I asked on SO [0], but did not receive satisfactory answer, or I'm too dense to understand it.

[0] https://stackoverflow.com/questions/64705654/why-i-get-tempo...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: