From ce6ad399efa17d5ab3ac5b2d234eb16b8dd5feba Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Fri, 17 Dec 2021 13:15:07 +0100 Subject: [PATCH] Fix a typo (#635) --- axum/src/extract/path/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum/src/extract/path/mod.rs b/axum/src/extract/path/mod.rs index f5e12c8b..de9af83d 100644 --- a/axum/src/extract/path/mod.rs +++ b/axum/src/extract/path/mod.rs @@ -329,7 +329,7 @@ impl fmt::Display for ErrorKind { ErrorKind::InvalidUtf8InPathParam { key } => write!(f, "Invalid UTF-8 in `{}`", key), ErrorKind::WrongNumberOfParameters { got, expected } => write!( f, - "Wronger number of parameters. Expected {} but got {}", + "Wrong number of parameters. Expected {} but got {}", expected, got ), ErrorKind::UnsupportedType { name } => write!(f, "Unsupported type `{}`", name),