mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-09 00:00:12 +02:00
Apply suggestions from code review
Co-authored-by: Jonas Platte <[email protected]>
This commit is contained in:
co-authored by
Jonas Platte
parent
8ddf49501f
commit
fcf8796b4b
@@ -14,7 +14,7 @@ pub(crate) fn expand(item_struct: ItemStruct) -> syn::Result<TokenStream> {
|
||||
if !generics.params.is_empty() || generics.where_clause.is_some() {
|
||||
return Err(syn::Error::new_spanned(
|
||||
generics,
|
||||
"`#[derive(TypePath)]` doesn't support generics",
|
||||
"`#[derive(TypedPath)]` doesn't support generics",
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user