Comment
Comment by mastax
Pretty deep in the nitpicky weeds here but I don't like putting mut bindings in parameters. They only affect the body of the function but they show up in the interface, including rustdoc, which can be confusing. It's easy to think that
has a semantic difference to the consumer similar to
but it does not. To avoid this confusion I'd rather do