Skip to content

Commit 295d741

Browse files
fingolfinsostock
andauthored
Fix a typo in setproperty! docs (JuliaLang#45629)
Co-authored-by: Sebastian Stock <[email protected]>
1 parent 1a73198 commit 295d741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/docs/basedocs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2882,7 +2882,7 @@ Base.getproperty
28822882
28832883
The syntax `a.b = c` calls `setproperty!(a, :b, c)`.
28842884
The syntax `@atomic order a.b = c` calls `setproperty!(a, :b, c, :order)`
2885-
and the syntax `@atomic a.b = c` calls `getproperty(a, :b, :sequentially_consistent)`.
2885+
and the syntax `@atomic a.b = c` calls `setproperty!(a, :b, c, :sequentially_consistent)`.
28862886
28872887
!!! compat "Julia 1.8"
28882888
`setproperty!` on modules requires at least Julia 1.8.

0 commit comments

Comments
 (0)