File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -962,7 +962,9 @@ the memory of the annotated type:
962
962
implemented in C as always requiring a fixed address. However, you can provide
963
963
` movesAsLike ` to the ` like: ` version of this attribute to enforce that moving
964
964
the value will defer its move semantics to the type it's like. This makes it
965
- suitable for storing such values that are not bitwise-movable.
965
+ suitable for storing such values that are not bitwise-movable. Note that the
966
+ raw storage for this variant must always be properly initialized after
967
+ initialization because foreign moves will assume an initialized state.
966
968
967
969
Using the ` @_rawLayout ` attribute will suppress the annotated type from
968
970
being implicitly ` Sendable ` . If the type is safe to access across threads, it
You can’t perform that action at this time.
0 commit comments