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:
962962 implemented in C as always requiring a fixed address. However, you can provide
963963 ` movesAsLike ` to the ` like: ` version of this attribute to enforce that moving
964964 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.
966968
967969Using the ` @_rawLayout ` attribute will suppress the annotated type from
968970being implicitly ` Sendable ` . If the type is safe to access across threads, it
You can’t perform that action at this time.
0 commit comments