The Rust stdlib sometimes uses prefix mut_
and other times suffix _mut
. This is a really minor papercut, but it does cause me to mistype names on a regular basis.
For example, we have:
find_mut
get_mut
front_mut
back_mut
borrow_mut
...but also:
mut_iter
mut_slice
mut_last
mut_split_at