Hi,
There is another thread about it here Ref keyword versus & with a blog post at the end Ref patterns, destructuring, and invisible borrows | by Robert Grosse | Medium hopefully this will explain it.
Cheers!
Hi,
There is another thread about it here Ref keyword versus & with a blog post at the end Ref patterns, destructuring, and invisible borrows | by Robert Grosse | Medium hopefully this will explain it.
Cheers!