HomePhabricator

rust: fix warning about unnecessary mut

Description

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

Details