Skip to content

Commit 6fa16bf

Browse files
Update tests/run-pass/ptr_int_permissive_provenance.rs
Co-authored-by: Ralf Jung <[email protected]>
1 parent bd162d7 commit 6fa16bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-pass/ptr_int_permissive_provenance.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fn ptr_roundtrip_out_of_bounds() {
1414
assert_eq!(unsafe { *ptr }, 3);
1515
}
1616

17-
/// Ensure that we can move between allocations using when casting
17+
/// Ensure that we can move between allocations after casting back to a ptr
1818
fn ptr_roundtrip_confusion() {
1919
let x: i32 = 0;
2020
let y: i32 = 1;

0 commit comments

Comments
 (0)