Improve doc

This commit is contained in:
Alexis Mousset
2016-01-16 12:13:06 +01:00
parent eabdb960b0
commit 7a9f9111a5
3 changed files with 73 additions and 70 deletions

View File

@@ -26,9 +26,9 @@ fn bench_simple_send(b: &mut test::Bencher) {
#[bench]
fn bench_reuse_send(b: &mut test::Bencher) {
let mut sender = SmtpTransportBuilder::new("127.0.0.1:2525")
.unwrap()
.connection_reuse(true)
.build();
.unwrap()
.connection_reuse(true)
.build();
b.iter(|| {
let email = EmailBuilder::new()
.to("root@localhost")