Added syntax highlighting to example in iteration chapter (#201)

It was missing syntax highlighting
This commit is contained in:
Dylan Gallagher
2025-05-28 20:06:40 +03:00
committed by GitHub
parent 6e22dc2831
commit 2bbb5d2acd

View File

@@ -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 wed otherwise be passing the tuples around.
```
```rust
// each item manages a reactive view
// but the list itself will never change
let counter_buttons = counters