Fix a typo (#635)

This commit is contained in:
Jonas Platte 2021-12-17 13:15:07 +01:00 committed by GitHub
parent f7049054bf
commit ce6ad399ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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),