1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 07:53:00 +01:00

fix typo in Fail display of ProtoBufEncodeError and ProtoBufDecodeError

Signed-off-by: Chris Dituri <csdituri@gmail.com>
This commit is contained in:
Chris Dituri 2018-07-11 11:18:22 -05:00
parent 9ac0edbac6
commit ca37d05847

View File

@ -37,10 +37,10 @@ pub enum ProtoBufPayloadError {
#[fail(display="Content type error")] #[fail(display="Content type error")]
ContentType, ContentType,
/// Serialize error /// Serialize error
#[fail(display="ProtoBud serialize error: {}", _0)] #[fail(display="ProtoBuf serialize error: {}", _0)]
Serialize(#[cause] ProtoBufEncodeError), Serialize(#[cause] ProtoBufEncodeError),
/// Deserialize error /// Deserialize error
#[fail(display="ProtoBud deserialize error: {}", _0)] #[fail(display="ProtoBuf deserialize error: {}", _0)]
Deserialize(#[cause] ProtoBufDecodeError), Deserialize(#[cause] ProtoBufDecodeError),
/// Payload error /// Payload error
#[fail(display="Error that occur during reading payload: {}", _0)] #[fail(display="Error that occur during reading payload: {}", _0)]