From 47050c499a7cc6823ce8ac94f9766dd7a5e61108 Mon Sep 17 00:00:00 2001 From: Daniel Ralston Date: Fri, 3 May 2013 02:25:02 -0700 Subject: [PATCH] FIX: Export to_bytes::ToBytes --- src/libcore/to_bytes.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libcore/to_bytes.rs b/src/libcore/to_bytes.rs index 7b4b6994e50..e563a304f09 100644 --- a/src/libcore/to_bytes.rs +++ b/src/libcore/to_bytes.rs @@ -419,8 +419,7 @@ impl IterBytes for *const A { } } - -trait ToBytes { +pub trait ToBytes { fn to_bytes(&self, lsb0: bool) -> ~[u8]; }