Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
aplavin authored Feb 27, 2024
1 parent 4b64b9e commit 40405e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sugar.jl
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,11 @@ julia> t = ("one", "two")
julia> set(t, (@o _[1]), "1")
("1", "two")
julia> l = @optic _[∗].a
julia> l = @o _[∗].a
(@o _[∗].a)
julia> modify(x -> x + 1, ((a=1,), (a=2,)), l)
((a=2,), (a=3,))
((a = 2,), (a = 3,))
```
See also [`@set`](@ref).
Expand Down

0 comments on commit 40405e2

Please sign in to comment.