Skip to content

Commit

Permalink
Fix error message typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillsemyonkin committed Nov 1, 2023
1 parent 0e818ba commit 64dfc9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yew-macro/src/autoprops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl syn::parse::Parse for Autoprops {
syn::Error::new_spanned(
sig,
"could not find #[function_component] attribute in function declaration \
(#[autoprops] must be place *before* #[function_component])",
(#[autoprops] must be placed *before* #[function_component])",
)
})?;

Expand Down

0 comments on commit 64dfc9f

Please sign in to comment.