Skip to content

Commit a7aa0a8

Browse files
RalfJungGankra
authored andcommitted
avoid redundant UB
1 parent 1824951 commit a7aa0a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/what-unsafe-does.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Unlike C, Undefined Behavior is pretty limited in scope in Rust. All the core
1717
language cares about is preventing the following things:
1818

1919
* Dereferencing (using the `*` operator on) null, dangling, or unaligned
20-
references or raw pointers
20+
pointers
2121
* Reading [uninitialized memory][]
2222
* Breaking the [pointer aliasing rules][]
2323
* Producing invalid primitive values (either alone or as a field of a compound

0 commit comments

Comments
 (0)