From 53e79d9620afa6abb97426cfbcf59d5e5c716af0 Mon Sep 17 00:00:00 2001 From: Alexis Mousset Date: Tue, 20 Feb 2018 23:47:53 +0100 Subject: [PATCH] feat(all): Apply clippy advice --- LICENSE | 2 +- lettre/src/smtp/client/mod.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index a9d4a88..72745ba 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2014-2017 Alexis Mousset +Copyright (c) 2014-2018 Alexis Mousset Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated diff --git a/lettre/src/smtp/client/mod.rs b/lettre/src/smtp/client/mod.rs index 1e6be4c..9b8564d 100644 --- a/lettre/src/smtp/client/mod.rs +++ b/lettre/src/smtp/client/mod.rs @@ -61,7 +61,8 @@ impl ClientCodec { start = idx; } } - Ok(buf.write_all(&frame[start..])?) + buf.write_all(&frame[start..])?; + Ok(()) } } }