Skip to content

Commit 9a7a391

Browse files
authored
Fix T-lang quote
1 parent 5cd1c6c commit 9a7a391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/design_notes/dynsized_constraints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ T-lang commented on this in \[3] (w.r.t. const `Weak<T>::[into|from]_raw` and `W
5757

5858
> Consensus from meeting:
5959
> - We approve the option to make `align_of_val_raw` require a once-valid-but-dropped value, in order to better support thin objects
60-
> - we believe the sentinel design (of `Weak::new`) means that `align_of_val_raw` is only ever invoked on once-valid-but-dropped values
60+
> - we believe the sentinel design \[of `Weak::new`] means that `align_of_val_raw` is only ever invoked on once-valid-but-dropped values
6161
> - We do not want `align_of_val_raw` to be forced to work for metadata + thin pointer
6262
> - Implement `Weak::from_raw` to check for sentinel and take some special action if it is observed
6363
> - potential cost: for unsized types (only), there is an extra branch (but if custom dst doesn’t require \[dynamic] alignment, we can change this later)

0 commit comments

Comments
 (0)