rust: fix warning about unnecessary mut...
rust: fix warning about unnecessary mut
If there's a reason to use mut (like compability with older
compilers), then we should stick `#[allow(unused_mut)]` on the
declaration.
Differential Revision:
https://phab.mercurial-scm.org/D8538