Quantcast
Channel: Consuming, borrowing and type inference
Viewing all articles
Browse latest Browse all 5

Consuming, borrowing and type inference

$
0
0

Yes, a function should always be able to mutate its own parameter if that parameter is consuming.

Read full topic


Viewing all articles
Browse latest Browse all 5

Trending Articles