about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Ralston <Wubbulous@gmail.com>2013-05-03 02:25:02 -0700
committerDaniel Ralston <Wubbulous@gmail.com>2013-05-03 02:25:02 -0700
commit47050c499a7cc6823ce8ac94f9766dd7a5e61108 (patch)
tree5810d60170fe42bbe03c01558c10e90f8b507149
parent2ae44a07a9d508d0ad413e70d3152a0f4a087976 (diff)
downloadrust-47050c499a7cc6823ce8ac94f9766dd7a5e61108.tar.gz
rust-47050c499a7cc6823ce8ac94f9766dd7a5e61108.zip
FIX: Export to_bytes::ToBytes
-rw-r--r--src/libcore/to_bytes.rs3
1 files changed, 1 insertions, 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<A> IterBytes for *const A {
     }
 }
 
-
-trait ToBytes {
+pub trait ToBytes {
     fn to_bytes(&self, lsb0: bool) -> ~[u8];
 }