Re:Should small Rust structs be passed by-copy or by-borrow?
by foldr on Monday August 26, 2019 @07:03AM
(#20798789)
In the case of Rust it would typically be an immutable reference (or else passing by value wouldn't be an alternative). So the caller would have no reason to make a copy.
[ Parent
| on HN ]
There are no comments on this comment yet.