Fix warnings: unnecessary mut

This commit is contained in:
adria0
2020-07-29 11:00:04 +02:00
committed by Artem Vorotnikov
parent cacbf256fe
commit c5aed5bab1
11 changed files with 68 additions and 68 deletions

View File

@@ -137,7 +137,7 @@ impl<P: PostSign> Future for ProspectiveSigner<P> {
);
}
WaitForPostSign => {
if let Some(mut fut) = self.post_sign_future.as_mut() {
if let Some(fut) = self.post_sign_future.as_mut() {
match fut.poll()? {
Async::Ready(item) => {
let nonce = self.ready.take().expect(