Hacker News new | ask | show | jobs
by andrewaylett 3017 days ago
If the transformation function consumes p, rather than taking a reference to it, Rust will stop you from using the variable again afterwards.