mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-27 00:00:24 +02:00
Enable and fix warnings from clippy::uninlined_format_args (#3063)
This commit is contained in:
@@ -299,9 +299,8 @@ where
|
||||
.serialize(serde_html_form::ser::Serializer::new(&mut urlencoder))
|
||||
.unwrap_or_else(|err| {
|
||||
panic!(
|
||||
"failed to URL encode value of type `{}`: {}",
|
||||
"failed to URL encode value of type `{}`: {err}",
|
||||
type_name::<T>(),
|
||||
err
|
||||
)
|
||||
});
|
||||
f.write_str(&out)?;
|
||||
|
||||
Reference in New Issue
Block a user