Skip to content

Commit

Permalink
style(clippy): clippy fmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Christof Weickhardt committed Feb 5, 2024
1 parent 7104950 commit 1d7c73d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ pub struct Error<'a> {
pub fn validation_catcher<'a>(req: &'a Request) -> Json<Error<'a>> {
Json(Error {
code: 422,
message: "Unprocessable Entity. The request was well-formed \
but was unable to be followed due to semantic errors.",
message: "Unprocessable Entity. The request was well-formed but was unable to be followed \
due to semantic errors.",
errors: req.local_cache(|| CachedValidationErrors(None)).0.as_ref(),
})
}
Expand Down

0 comments on commit 1d7c73d

Please sign in to comment.