Skip to content

Commit

Permalink
Merge branch 'release/v1.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
rousan committed May 17, 2020
2 parents d5e168d + 1bcf21a commit 77485b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "multer"
version = "1.1.0"
version = "1.1.1"
description = "An async parser for `multipart/form-data` content-type in Rust."
homepage = "https://github.com/rousan/multer-rs"
repository = "https://github.com/rousan/multer-rs"
Expand Down
6 changes: 3 additions & 3 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub enum Error {
IncompleteHeaders,

/// Failed to read headers.
#[display(fmt = "Failed to read headers")]
#[display(fmt = "Failed to read headers: {}", _0)]
ReadHeaderFailed(BoxError),

/// Failed to decode the field's raw header name to [`HeaderName`](https://docs.rs/http/0.2.1/http/header/struct.HeaderName.html) type.
Expand Down Expand Up @@ -54,7 +54,7 @@ pub enum Error {
StreamSizeExceeded { limit: usize },

/// Stream read failed.
#[display(fmt = "Stream read failed")]
#[display(fmt = "Stream read failed: {}", _0)]
StreamReadFailed(BoxError),

/// Failed to lock the multipart shared state for any changes.
Expand All @@ -75,7 +75,7 @@ pub enum Error {

/// Failed to decode the field data as `JSON` in [`field.json()`](./struct.Field.html#method.json) method.
#[cfg(feature = "json")]
#[display(fmt = "Failed to decode the field data as JSON")]
#[display(fmt = "Failed to decode the field data as JSON: {}", _0)]
DecodeJson(BoxError),

#[doc(hidden)]
Expand Down

0 comments on commit 77485b2

Please sign in to comment.