remove double braces in shorthand children error message
This commit is contained in:
1 parent
591d6330e8
commit
2f387604a8
1 file changed
+1
-1
@@ -278,7 +278,7 @@ impl Element {
|
|||||||
r#"Shorthand element children are not supported.
|
r#"Shorthand element children are not supported.
|
||||||
To pass children into elements, wrap them in curly braces.
|
To pass children into elements, wrap them in curly braces.
|
||||||
Like so:
|
Like so:
|
||||||
div {{ {{children}} }}
|
div { {children} }
|
||||||
|
|
||||||
"#,
|
"#,
|
||||||
));
|
));
|
||||||
|
|||||||
Reference in new issue
Block a user