Skip to content

Commit

Permalink
Merge pull request #54 from ritschwumm/patch-1
Browse files Browse the repository at this point in the history
fix typo?
  • Loading branch information
wtholliday committed Sep 9, 2023
2 parents a9e707b + 3ec720a commit f03ccbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To create a binding for a member of a struct, use `make_lens!` and `bind` Suppos
struct MyState {
value: f32,
}
make_lens!(MyLens, MyState, f32, x);
make_lens!(MyLens, MyState, f32, value);
```

then we can use `bind` to create a control for `value`:
Expand Down

0 comments on commit f03ccbf

Please sign in to comment.