Fix some clippy warnings

This commit is contained in:
Alexander Krotov
2019-11-19 13:27:38 +03:00
committed by Floris Bruynooghe
parent d7c42f3c98
commit 4732085421
6 changed files with 13 additions and 13 deletions

View File

@@ -92,7 +92,7 @@ pub fn dc_job_do_DC_JOB_CONFIGURE_IMAP(context: &Context) {
const STEP_3_INDEX: u8 = 13;
let mut step_counter: u8 = 0;
while !context.shall_stop_ongoing() {
step_counter = step_counter + 1;
step_counter += 1;
let success = match step_counter {
// Read login parameters from the database