mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-30 14:31:16 +00:00
Fix a typo (#635)
This commit is contained in:
parent
f7049054bf
commit
ce6ad399ef
@ -329,7 +329,7 @@ impl fmt::Display for ErrorKind {
|
|||||||
ErrorKind::InvalidUtf8InPathParam { key } => write!(f, "Invalid UTF-8 in `{}`", key),
|
ErrorKind::InvalidUtf8InPathParam { key } => write!(f, "Invalid UTF-8 in `{}`", key),
|
||||||
ErrorKind::WrongNumberOfParameters { got, expected } => write!(
|
ErrorKind::WrongNumberOfParameters { got, expected } => write!(
|
||||||
f,
|
f,
|
||||||
"Wronger number of parameters. Expected {} but got {}",
|
"Wrong number of parameters. Expected {} but got {}",
|
||||||
expected, got
|
expected, got
|
||||||
),
|
),
|
||||||
ErrorKind::UnsupportedType { name } => write!(f, "Unsupported type `{}`", name),
|
ErrorKind::UnsupportedType { name } => write!(f, "Unsupported type `{}`", name),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user