Skip to content

Commit

Permalink
chore: Add missing symbol (#2909)
Browse files Browse the repository at this point in the history
Signed-off-by: tiaoxizhan <tiaoxizhan@outlook.com>
  • Loading branch information
tiaoxizhan authored and jplatte committed Sep 20, 2024
1 parent de9290a commit f446b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axum-macros/src/from_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pub(crate) fn expand(item: syn::Item, tr: Trait) -> syn::Result<TokenStream> {
variants,
} = item;

let generics_error = format!("`#[derive({tr})] on enums don't support generics");
let generics_error = format!("`#[derive({tr})]` on enums don't support generics");

if !generics.params.is_empty() {
return Err(syn::Error::new_spanned(generics, generics_error));
Expand Down

0 comments on commit f446b42

Please sign in to comment.