We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fc9b11 commit ccf3d7aCopy full SHA for ccf3d7a
src/behavior-considered-undefined.md
@@ -55,7 +55,7 @@ code.
55
* Invalid values for a type with a custom definition of invalid values.
56
57
> **Note**: For `rustc`, those types are [`NonNull<T>`] and [`NonZero*`].
58
- > Requesting custom invalid types requires the unstable `rustc_layout_scalar_valid_range_*` attributes.
+ > Requesting custom invalid values requires the unstable `rustc_layout_scalar_valid_range_*` attributes.
59
60
A reference/pointer is "dangling" if it is null or not all of the bytes it
61
points to are part of the same allocation (so in particular they all have to be
0 commit comments