Skip to content

Commit 5fa7884

Browse files
committed
test: Fix problem with check-fast. rs=burningtree
1 parent b916e65 commit 5fa7884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/test/run-pass/enum-alignment.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn addr_of<T>(ptr: &T) -> uint {
1919

2020
fn is_aligned<T>(ptr: &T) -> bool {
2121
unsafe {
22-
let addr: uint = ::cast::transmute(ptr);
22+
let addr: uint = cast::transmute(ptr);
2323
(addr % sys::min_align_of::<T>()) == 0
2424
}
2525
}

0 commit comments

Comments
 (0)