Skip to content

Commit f9f942b

Browse files
committed
test: Fix comments in pretty-printed test. rs=burningtree
1 parent 82062a6 commit f9f942b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/run-fail/bug-2470-bounds-check-overflow.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ fn main() {
2020

2121
let x = ~[1u,2u,3u];
2222
do vec::as_imm_buf(x) |p, _len| {
23-
let base = p as uint; // base = 0x1230 say
24-
let idx = base / sys::size_of::<uint>(); // idx = 0x0246 say
23+
let base = p as uint;
24+
let idx = base / sys::size_of::<uint>();
2525
error!("ov1 base = 0x%x", base);
2626
error!("ov1 idx = 0x%x", idx);
2727
error!("ov1 sizeof::<uint>() = 0x%x", sys::size_of::<uint>());

0 commit comments

Comments
 (0)