Skip to content

Commit c5f674a

Browse files
Dretchbrson
authored andcommitted
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.
1 parent 9297c76 commit c5f674a

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

src/libstd/bitv.rs

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,6 @@
11
use vec::{to_mut, from_elem};
22

3-
export Bitv;
4-
export union;
5-
export Union;
6-
export intersect;
7-
export Intersect;
8-
export assign;
9-
export Assign;
10-
export difference;
11-
export Difference;
12-
export clone;
13-
export get;
14-
export equal;
15-
export clear;
16-
export set_all;
17-
export invert;
18-
export set;
19-
export is_true;
20-
export is_false;
21-
export to_vec;
22-
export to_str;
23-
export eq_vec;
24-
export methods;
3+
export Bitv, from_bytes, from_bools, from_fn;
254

265
/// a mask that has a 1 for each defined bit in a small_bitv, assuming n bits
276
#[inline(always)]

0 commit comments

Comments
 (0)