From e118555ce67aadb0a58039b3e74f44a43b210528 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 15 Jul 2013 14:23:42 -0400 Subject: remove headers from unique vectors --- src/rt/rust_builtin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/rt/rust_builtin.cpp') diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 18e5583a330..d70c2a91366 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -390,9 +390,9 @@ void tm_to_rust_tm(tm* in_tm, rust_tm* out_tm, int32_t gmtoff, if (zone != NULL) { size_t size = strlen(zone); reserve_vec_exact(&out_tm->tm_zone, size + 1); - memcpy(out_tm->tm_zone->body.data, zone, size); - out_tm->tm_zone->body.fill = size + 1; - out_tm->tm_zone->body.data[size] = '\0'; + memcpy(out_tm->tm_zone->data, zone, size); + out_tm->tm_zone->fill = size + 1; + out_tm->tm_zone->data[size] = '\0'; } } -- cgit 1.4.1-3-g733a5