Skip to content

Commit 73ee16b

Browse files
committed
A little tidy-up that should have gone in with 4e37685.
1 parent 8149bb1 commit 73ee16b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/rt/rust_builtin.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ extern "C" CDECL void
112112
vec_print_debug_info(rust_task *task, type_desc *ty, rust_vec *v)
113113
{
114114
task->log(rust_log::STDLIB,
115-
"vec_print_debug_info(%" PRIxPTR ")"
116-
" with tydesc %" PRIxPTR
115+
"vec_print_debug_info(0x%" PRIxPTR ")"
116+
" with tydesc 0x%" PRIxPTR
117117
" (size = %" PRIdPTR ", align = %" PRIdPTR ")"
118118
" alloc = %" PRIdPTR ", fill = %" PRIdPTR
119119
" , data = ...", v, ty, ty->size, ty->align, v->alloc, v->fill);

src/test/run-pass/size-and-align.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// -*- rust -*-
22

3-
use std;
4-
import std._vec;
5-
63
type clam[T] = tag(a(T, int), b());
74

85
fn uhoh[T](vec[clam[T]] v) {

0 commit comments

Comments
 (0)