Use identifiers in format!
This commit is contained in:
@@ -72,7 +72,7 @@ impl ExportedParams for ExportedModParams {
|
||||
(attr, ..) => {
|
||||
return Err(syn::Error::new(
|
||||
key.span(),
|
||||
format!("unknown attribute '{}'", attr),
|
||||
format!("unknown attribute '{attr}'"),
|
||||
))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user