From ca37d058470ef8d669d70cb510206a85438b0be9 Mon Sep 17 00:00:00 2001 From: Chris Dituri Date: Wed, 11 Jul 2018 11:18:22 -0500 Subject: [PATCH] fix typo in Fail display of ProtoBufEncodeError and ProtoBufDecodeError Signed-off-by: Chris Dituri --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 0981145e7..631a7da1a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -37,10 +37,10 @@ pub enum ProtoBufPayloadError { #[fail(display="Content type error")] ContentType, /// Serialize error - #[fail(display="ProtoBud serialize error: {}", _0)] + #[fail(display="ProtoBuf serialize error: {}", _0)] Serialize(#[cause] ProtoBufEncodeError), /// Deserialize error - #[fail(display="ProtoBud deserialize error: {}", _0)] + #[fail(display="ProtoBuf deserialize error: {}", _0)] Deserialize(#[cause] ProtoBufDecodeError), /// Payload error #[fail(display="Error that occur during reading payload: {}", _0)]