Skip to content

Commit a679ea5

Browse files
committed
Limit the exports from std::vec
1 parent 7d05da9 commit a679ea5

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

src/lib/vec.rs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,31 @@ import option::none;
33
import option::some;
44
import util::orb;
55

6+
export vbuf;
7+
export empty_mut;
8+
export init_fn;
9+
export init_fn_mut;
10+
export init_elt;
11+
export init_elt_mut;
12+
export buf;
13+
export len;
14+
export print_debug_info;
15+
export slice;
16+
export pop;
17+
export push;
18+
export foldl;
19+
export reversed;
20+
export member;
21+
export map;
22+
export map2;
23+
export filter_map;
24+
export empty;
25+
export position;
26+
export position_pred;
27+
export reverse;
28+
export alloc;
29+
export refcount;
30+
631
type vbuf = rustrt::vbuf;
732

833
type operator2[T, U, V] = fn(&T, &U) -> V ;

0 commit comments

Comments
 (0)