From a616c0d4c041969027054515d8af9ce60175542c Mon Sep 17 00:00:00 2001 From: Alexis Mousset Date: Thu, 1 Sep 2016 00:39:04 +0200 Subject: [PATCH] style(all): Fix doc and Cargo.toml openssl line --- Cargo.toml | 2 +- src/transport/smtp/client/net.rs | 2 +- src/transport/smtp/mod.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 306c752..24fc396 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ bufstream = "0.1" email = "0.0" log = "0.3" mime = "0.2" -openssl = { version = "0.8", features = ["tlsv1_2"] } +openssl = "0.8" rustc-serialize = "0.3" rust-crypto = "0.2" time = "0.1" diff --git a/src/transport/smtp/client/net.rs b/src/transport/smtp/client/net.rs index ed5cd13..3d340b1 100644 --- a/src/transport/smtp/client/net.rs +++ b/src/transport/smtp/client/net.rs @@ -42,7 +42,7 @@ impl Connector for NetworkStream { Err(err) => return Err(io::Error::new(ErrorKind::Other, err)), } } - NetworkStream::Ssl(_) => return Ok(()) + NetworkStream::Ssl(_) => return Ok(()), }; Ok(()) diff --git a/src/transport/smtp/mod.rs b/src/transport/smtp/mod.rs index 2118001..c06d920 100644 --- a/src/transport/smtp/mod.rs +++ b/src/transport/smtp/mod.rs @@ -1,4 +1,4 @@ -//! Sends an email using the client +//! This transport sends emails using the SMTP protocol use email::SendableEmail;