diff --git a/base/docs/basedocs.jl b/base/docs/basedocs.jl index 8cb5c021fabc9..b75e831c3d0e4 100644 --- a/base/docs/basedocs.jl +++ b/base/docs/basedocs.jl @@ -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.