Skip to content

Commit

Permalink
fix test error
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxd3 committed Mar 20, 2024
1 parent d229ad2 commit 680f32f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/varname.jl
Expand Up @@ -149,7 +149,7 @@ Alias for `set(obj, PropertyLens{sym}() ⨟ getoptic(vn), value)`.
# Example
```jldoctest; setup = :(nt = (a = 1, b = (c = [1, 2, 3],)); name = :nt)
```jldoctest; setup = :(using AbstractPPL: Accessors; nt = (a = 1, b = (c = [1, 2, 3],)); name = :nt)
julia> Accessors.set(nt, @varname(a), 10)
(a = 10, b = (c = [1, 2, 3],))
Expand Down

0 comments on commit 680f32f

Please sign in to comment.