> Could you elaborate on that?
If the value isn't passed by (perhaps elidably) copying, that would mean it's getting allocated on the heap and deallocated.
If the value isn't passed by (perhaps elidably) copying, that would mean it's getting allocated on the heap and deallocated.
But I could be mistaken. This is all based on hearsay--just stuff I've read about the Rust compiler. I don't actually work on the compiler myself.