Skip to content

Commit

Permalink
Fix a typo in modifyproperty! docstring (#45177)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf authored May 6, 2022
1 parent b06c9df commit f1ac0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/docs/basedocs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2754,7 +2754,7 @@ Base.swapproperty!
"""
modifyproperty!(x, f::Symbol, op, v, order::Symbol=:not_atomic)
The syntax `@atomic! max(a().b, c)` returns `modifyproperty!(a(), :b,
The syntax `@atomic max(a().b, c)` returns `modifyproperty!(a(), :b,
max, c, :sequentially_consistent))`, where the first argument must be a
`getfield` expression and is modified atomically.
Expand Down

0 comments on commit f1ac0cf

Please sign in to comment.