Skip to content

Commit

Permalink
Update dynsized_constraints.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CAD97 authored Oct 4, 2022
1 parent f24c4f2 commit 5260de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/design_notes/dynsized_constraints.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ In addition, `Weak` are pointers to the *reference count* part of the `ArcInner`
and thus need to *statically* know the alignment of the pointee type to determine the offset
(it cannot call `align_of_val_raw` without first knowing the offset).

There are three potential resolutions that cover both size and alignment:
There are three potential resolutions that handle both size and alignment uniformly:

- Store layout information in the `ArcInner` header, or
- Require that layout be determined solely from pointee metadata, or
Expand Down

0 comments on commit 5260de8

Please sign in to comment.