Minor code fix in example (#230)

An example `view!` tag was not closed, creating a compilation error.
This commit is contained in:
Jason Haruska
2025-08-19 15:48:34 -05:00
committed by GitHub
parent 1e9260a0ae
commit f353f44ac2

View File

@@ -437,7 +437,7 @@ That would make the example above look like this:
```rust
fn spread_onto_component() -> impl Attribute {
view!{
<{..} aria-label="a component with attribute spreading">
<{..} aria-label="a component with attribute spreading"/>
}
}