Skip to content

Commit 64dfc9f

Browse files
Fix error message typo
1 parent 0e818ba commit 64dfc9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/yew-macro/src/autoprops.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl syn::parse::Parse for Autoprops {
5959
syn::Error::new_spanned(
6060
sig,
6161
"could not find #[function_component] attribute in function declaration \
62-
(#[autoprops] must be place *before* #[function_component])",
62+
(#[autoprops] must be placed *before* #[function_component])",
6363
)
6464
})?;
6565

0 commit comments

Comments
 (0)