Skip to content

Commit 5cec835

Browse files
committed
Revert error text
1 parent af3c442 commit 5cec835

File tree

1 file changed

+1
-1
lines changed
  • packages/yew-macro/src/props

1 file changed

+1
-1
lines changed

packages/yew-macro/src/props/prop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ impl Prop {
4646
} else {
4747
Err(syn::Error::new_spanned(
4848
path,
49-
"only simple identifiers may be used with the shorthand property syntax",
49+
"only simple identifiers are allowed in the shorthand property syntax",
5050
))
5151
}
5252
} else {

0 commit comments

Comments
 (0)