We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd162d7 commit 6fa16bfCopy full SHA for 6fa16bf
tests/run-pass/ptr_int_permissive_provenance.rs
@@ -14,7 +14,7 @@ fn ptr_roundtrip_out_of_bounds() {
14
assert_eq!(unsafe { *ptr }, 3);
15
}
16
17
-/// Ensure that we can move between allocations using when casting
+/// Ensure that we can move between allocations after casting back to a ptr
18
fn ptr_roundtrip_confusion() {
19
let x: i32 = 0;
20
let y: i32 = 1;
0 commit comments