Skip to content

Commit ad60b7a

Browse files
committed
more concise note
1 parent c9e23d1 commit ad60b7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/behavior-considered-undefined.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ code.
5555
* Invalid values for a type with a custom definition of invalid values.
5656
In the standard library, this affects [`NonNull<T>`] and [`NonZero*`].
5757

58-
> **Note**: For `rustc`, requesting custom invalid values requires the
59-
> unstable `rustc_layout_scalar_valid_range_*` attributes.
58+
> **Note**: `rustc` achieves this with the unstable
59+
> `rustc_layout_scalar_valid_range_*` attributes.
6060
6161
A reference/pointer is "dangling" if it is null or not all of the bytes it
6262
points to are part of the same allocation (so in particular they all have to be

0 commit comments

Comments
 (0)