We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Sync
1 parent 68fb8b8 commit 73de72eCopy full SHA for 73de72e
src/items/static-items.md
@@ -22,8 +22,7 @@ Static initializers may refer to other statics.
22
Non-`mut` static items that contain a type that is not [interior mutable] may
23
be placed in read-only memory.
24
25
-All access to a static is safe,
26
-provided that the type must have the `Sync` trait bound to allow thread-safe access.
+The type of an immutable static must implement the [`Sync`](std::marker::Sync) trait.
27
28
The initializer expression must be omitted in an [external block], and must be
29
provided for free static items.
0 commit comments