Skip to content

Commit b7f7708

Browse files
authored
code quote the atomic orderings in the manual (#41902)
1 parent 337cf38 commit b7f7708

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/manual/multi-threading.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ which will later be published formally.
244244

245245
Any field in a struct declaration can be decorated with `@atomic`, and then any
246246
write must be marked with `@atomic` also, and must use one of the defined atomic
247-
orderings (:monotonic, :acquire, :release, :acquire\_release, or
248-
:sequentially\_consistent). Any read of an atomic field can also be annotated
247+
orderings (`:monotonic`, `:acquire`, `:release`, `:acquire_release`, or
248+
`:sequentially_consistent`). Any read of an atomic field can also be annotated
249249
with an atomic ordering constraint, or will be done with monotonic (relaxed)
250250
ordering if unspecified.
251251

0 commit comments

Comments
 (0)