1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 23:51:06 +01:00

Merge pull request #1 from cdituri/fix-typo-in-fail-display

fix typo in Fail display of ProtoBufEncodeError and ProtoBufDecodeError
This commit is contained in:
Nikolay Kim 2018-07-14 09:40:45 +06:00 committed by GitHub
commit 99e4e1c3ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)]