3 ms·
> So why force every caller to do a `&mut` un-necessarily ? Because it's not unnecessary? `bytes` is a `Vec`, not a `&mut Vec`, those are different things, and
by masklinn 5y ago
> So why force every caller to do a `&mut` un-necessarily ?
Because it's not unnecessary? `bytes` is a `Vec`, not a `&mut Vec`, those are different things, and Rust generally avoids magically doing things under the covers. So it doesn't auto-ref (let alone auto-mut-ref) parameters, only subjects.