Hacker News new | ask | show | jobs
by kimundi 2156 days ago
Note that that is passing by value, so its moving/copying ownership. Its like having a immutable integer variable and copying it to a different mutable variable.