Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Should Small Rust Structs be Passed by-copy or by-borrow?. Parent comment
That's my approach too as a Rust newbie. Borrow by default and take ownership only when needed, for the best ergononmics.
There are no comments on this comment yet.
That's my approach too as a Rust newbie. Borrow by default and take ownership only when needed, for the best ergononmics.