Этот урок пока на английском.
Borrow, don't take
Most functions only need to look at a value, not own it. A reference lets them borrow it and give it back automatically, and the compiler checks every loan.
Этот урок пока на английском.
Most functions only need to look at a value, not own it. A reference lets them borrow it and give it back automatically, and the compiler checks every loan.