fix some clippy lints
This commit is contained in:
1 parent
76a050314a
commit
ee25c03e74
9 files changed
+25
-14
No files matched your search
@@ -139,7 +139,6 @@ Missing Features
|
||||
Missing examples
|
||||
- Shared state
|
||||
- Root-less element groups
|
||||
- Spread props
|
||||
- Custom elements
|
||||
- Component Children: Pass children into child components
|
||||
- Render To string: Render a mounted virtualdom to a string
|
||||
|
||||
+1
-2
@@ -21,10 +21,9 @@ fn app(cx: Scope) -> Element {
|
||||
}
|
||||
|
||||
fn Component<'a>(cx: Scope<'a, Props<'a>>) -> Element<'a> {
|
||||
let attributes = &*cx.props.attributes;
|
||||
render! {
|
||||
audio {
|
||||
..attributes,
|
||||
..cx.props.attributes,
|
||||
"1: {cx.props.extra_data}\n2: {cx.props.extra_data2}"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user