A little tidy-up that should have gone in with 4e376852e7.

This commit is contained in:
Roy Frostig 2010-08-12 19:20:29 -07:00
parent 8149bb1411
commit 73ee16b1a4
2 changed files with 2 additions and 5 deletions

View file

@ -112,8 +112,8 @@ extern "C" CDECL void
vec_print_debug_info(rust_task *task, type_desc *ty, rust_vec *v)
{
task->log(rust_log::STDLIB,
"vec_print_debug_info(%" PRIxPTR ")"
" with tydesc %" PRIxPTR
"vec_print_debug_info(0x%" PRIxPTR ")"
" with tydesc 0x%" PRIxPTR
" (size = %" PRIdPTR ", align = %" PRIdPTR ")"
" alloc = %" PRIdPTR ", fill = %" PRIdPTR
" , data = ...", v, ty, ty->size, ty->align, v->alloc, v->fill);

View file

@ -1,8 +1,5 @@
// -*- rust -*-
use std;
import std._vec;
type clam[T] = tag(a(T, int), b());
fn uhoh[T](vec[clam[T]] v) {