Skip to content

Commit 5114cb3

Browse files
authored
Fix docs typo, missing .to_string() (#768)
Compiler was complaining about this. Apparently we need .into() or .to_string(). Feel free to change this to whatever is preferred. In a previous Sycamore version, was this not required?
1 parent 55ac392 commit 5114cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/next/introduction/your-first-app.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ Sycamore!".
275275

276276
```rust
277277
view! {
278-
Hello(name="Sycamore")
278+
Hello(name="Sycamore".into())
279279
}
280280
```
281281

0 commit comments

Comments
 (0)