Fixed some lint issues

This commit is contained in:
Daniel García
2018-09-13 21:55:23 +02:00
parent 948554a20f
commit 8651df8c2a
11 changed files with 25 additions and 27 deletions

View File

@@ -78,7 +78,7 @@ impl Attachment {
println!("ERROR: Failed with 10 retries");
return Err(err)
} else {
retries = retries - 1;
retries -= 1;
println!("Had to retry! Retries left: {}", retries);
thread::sleep(time::Duration::from_millis(500));
continue