Fix some clippy warnings

This commit is contained in:
Alexander Krotov
2019-10-03 13:22:59 +03:00
committed by holger krekel
parent a5c4e16405
commit 130d485cac
27 changed files with 193 additions and 251 deletions

View File

@@ -150,7 +150,7 @@ impl Smtp {
message_len, recipients_display
)));
self.transport_connected = true;
return Ok(());
Ok(())
}
Err(err) => {
bail!("SMTP failed len={}: error: {}", message_len, err);