4 ms·
If the transformation function consumes p, rather than taking a reference to it, Rust will stop you from using the variable again afterwards.
by andrewaylett 9y ago
If the transformation function consumes p, rather than taking a reference to it, Rust will stop you from using the variable again afterwards.