And.... about 10 minutes after posting this discovered &mut does in fact coerce to *mut. Must have tripped over my own error messages and confused myself.
Anyway, now with ~50% fewer casts!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
And.... about 10 minutes after posting this discovered
&mut
does in fact coerce to*mut
. Must have tripped over my own error messages and confused myself.Anyway, now with ~50% fewer casts!