]> git.lizzy.rs Git - rust.git/commitdiff
fix two issues with the exports:
authorGareth Daniel Smith <garethdanielsmith@gmail.com>
Sun, 2 Sep 2012 15:10:14 +0000 (16:10 +0100)
committerBrian Anderson <banderson@mozilla.com>
Tue, 4 Sep 2012 20:23:22 +0000 (13:23 -0700)
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.

src/libstd/bitv.rs

index 70cc3d3816fe5b626a9f7584db44c7dbc1b16caf..64944d35888fa2ee1cb0265eefc11f316a257f37 100644 (file)
@@ -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)]