A little tidy-up that should have gone in with 4e376852e7.
This commit is contained in:
@@ -112,8 +112,8 @@ extern "C" CDECL void
|
|||||||
vec_print_debug_info(rust_task *task, type_desc *ty, rust_vec *v)
|
vec_print_debug_info(rust_task *task, type_desc *ty, rust_vec *v)
|
||||||
{
|
{
|
||||||
task->log(rust_log::STDLIB,
|
task->log(rust_log::STDLIB,
|
||||||
"vec_print_debug_info(%" PRIxPTR ")"
|
"vec_print_debug_info(0x%" PRIxPTR ")"
|
||||||
" with tydesc %" PRIxPTR
|
" with tydesc 0x%" PRIxPTR
|
||||||
" (size = %" PRIdPTR ", align = %" PRIdPTR ")"
|
" (size = %" PRIdPTR ", align = %" PRIdPTR ")"
|
||||||
" alloc = %" PRIdPTR ", fill = %" PRIdPTR
|
" alloc = %" PRIdPTR ", fill = %" PRIdPTR
|
||||||
" , data = ...", v, ty, ty->size, ty->align, v->alloc, v->fill);
|
" , data = ...", v, ty, ty->size, ty->align, v->alloc, v->fill);
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
use std;
|
|
||||||
import std._vec;
|
|
||||||
|
|
||||||
type clam[T] = tag(a(T, int), b());
|
type clam[T] = tag(a(T, int), b());
|
||||||
|
|
||||||
fn uhoh[T](vec[clam[T]] v) {
|
fn uhoh[T](vec[clam[T]] v) {
|
||||||
|
|||||||
Reference in New Issue
Block a user