mirror of
https://github.com/leptos-rs/book.git
synced 2025-12-27 10:01:41 -05:00
Added syntax highlighting to example in iteration chapter (#201)
It was missing syntax highlighting
This commit is contained in:
@@ -60,7 +60,7 @@ Note here that instead of calling `signal()` to get a tuple with a reader and a
|
||||
here we use `RwSignal::new()` to get a single, read-write signal. This is just more convenient
|
||||
for a situation where we’d otherwise be passing the tuples around.
|
||||
|
||||
```
|
||||
```rust
|
||||
// each item manages a reactive view
|
||||
// but the list itself will never change
|
||||
let counter_buttons = counters
|
||||
|
||||
Reference in New Issue
Block a user