Skip to content

Commit

Permalink
docs: fix typo (#1618)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpytaylo authored Sep 1, 2023
1 parent 8ecb7f5 commit fee2fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/src/reactivity/working_with_signals.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if names.with(Vec::is_empty) {
}
```

After all, `.with()` simply takes a function that takes the value by reference. Since `Vec::is_empty` takes `&self`, we can pass it in directly and avoid the unncessary closure.
After all, `.with()` simply takes a function that takes the value by reference. Since `Vec::is_empty` takes `&self`, we can pass it in directly and avoid the unnecessary closure.

## Making signals depend on each other

Expand Down

0 comments on commit fee2fb9

Please sign in to comment.