Skip to content

Commit ecc7623

Browse files
RalfJungoli-obk
andauthored
fix typo
Co-authored-by: Oli Scherer <[email protected]>
1 parent d5e431b commit ecc7623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rfcs/0000-const-ub.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Other kinds of UB might or might not be detected:
4545
* Dereferencing unaligned pointers.
4646
* Violating Rust's aliasing rules.
4747
* Producing an invalid value (but not using it in one of the ways defined above).
48-
* Anything [other UB][UB] not listed here.
48+
* Any [other UB][UB] not listed here.
4949

5050
All of this UB has in common that there is an "obvious" way to continue evaluation even though the program has caused UB:
5151
we can just access the underlying memory despite alignment and/or aliasing rules being violated, and we can just ignore the existence of an invalid value as long as it is not used in some arithmetic, logical or control-flow operation.

0 commit comments

Comments
 (0)