about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGareth Daniel Smith <garethdanielsmith@gmail.com>2012-09-02 16:10:14 +0100
committerBrian Anderson <banderson@mozilla.com>2012-09-04 13:23:22 -0700
commitc5f674ae2a2c06f9e76af23d270fa22365aadc62 (patch)
tree27adfbe612ebd0a70e3a17204a6650f5602a6135
parent9297c7659873046750f65b44b2d368344daef0e8 (diff)
downloadrust-c5f674ae2a2c06f9e76af23d270fa22365aadc62.tar.gz
rust-c5f674ae2a2c06f9e76af23d270fa22365aadc62.zip
fix two issues with the exports:
1. from_bytes, from_bools and from_fn were not exported but should have been.
2. lots of stuff that either didnt exist or didnt need exporting was being exported.
-rw-r--r--src/libstd/bitv.rs23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/libstd/bitv.rs b/src/libstd/bitv.rs
index 70cc3d3816f..64944d35888 100644
--- a/src/libstd/bitv.rs
+++ b/src/libstd/bitv.rs
@@ -1,27 +1,6 @@
 use vec::{to_mut, from_elem};
 
-export Bitv;
-export union;
-export Union;
-export intersect;
-export Intersect;
-export assign;
-export Assign;
-export difference;
-export Difference;
-export clone;
-export get;
-export equal;
-export clear;
-export set_all;
-export invert;
-export set;
-export is_true;
-export is_false;
-export to_vec;
-export to_str;
-export eq_vec;
-export methods;
+export Bitv, from_bytes, from_bools, from_fn;
 
 /// a mask that has a 1 for each defined bit in a small_bitv, assuming n bits
 #[inline(always)]