@@ -13,7 +13,7 @@ The following program should print out the numbers one through ten.
1313``` rust
1414extern crate timely;
1515
16- use timely :: dataflow :: operators :: {ToStream , Inspect , Map };
16+ use timely :: dataflow :: operators :: {ToStream , Inspect , vec :: Map };
1717
1818fn main () {
1919 timely :: execute_from_args (std :: env :: args (), | worker | {
@@ -32,7 +32,7 @@ The closure `map` takes *owned* data as input, which means you are able to mutat
3232``` rust
3333extern crate timely;
3434
35- use timely :: dataflow :: operators :: {ToStream , Inspect , Map };
35+ use timely :: dataflow :: operators :: {ToStream , Inspect , vec :: Map };
3636
3737fn main () {
3838 timely :: execute_from_args (std :: env :: args (), | worker | {
@@ -56,7 +56,7 @@ For example, the `map_in_place` method takes a closure which receives a mutable
5656``` rust
5757extern crate timely;
5858
59- use timely :: dataflow :: operators :: {ToStream , Inspect , Map };
59+ use timely :: dataflow :: operators :: {ToStream , Inspect , vec :: Map };
6060
6161fn main () {
6262 timely :: execute_from_args (std :: env :: args (), | worker | {
@@ -76,7 +76,7 @@ Alternately, the `flat_map` method takes input data and allows your closure to t
7676``` rust
7777extern crate timely;
7878
79- use timely :: dataflow :: operators :: {ToStream , Inspect , Map };
79+ use timely :: dataflow :: operators :: {ToStream , Inspect , vec :: Map };
8080
8181fn main () {
8282 timely :: execute_from_args (std :: env :: args (), | worker | {
@@ -97,7 +97,7 @@ Another fundamental operation is *filtering*, in which a predicate dictates a su
9797``` rust
9898extern crate timely;
9999
100- use timely :: dataflow :: operators :: {ToStream , Inspect , Filter };
100+ use timely :: dataflow :: operators :: {ToStream , Inspect , vec :: Filter };
101101
102102fn main () {
103103 timely :: execute_from_args (std :: env :: args (), | worker | {
@@ -122,7 +122,7 @@ The `partition` operator takes two arguments, a number of resulting streams to p
122122``` rust
123123extern crate timely;
124124
125- use timely :: dataflow :: operators :: {ToStream , Partition , Inspect };
125+ use timely :: dataflow :: operators :: {ToStream , Inspect , vec :: Partition };
126126
127127fn main () {
128128 timely :: example (| scope | {
@@ -143,7 +143,7 @@ In the other direction, `concat` takes two streams and produces one output strea
143143``` rust
144144extern crate timely;
145145
146- use timely :: dataflow :: operators :: {ToStream , Partition , Concat , Inspect };
146+ use timely :: dataflow :: operators :: {ToStream , Concat , Inspect , vec :: Partition };
147147
148148fn main () {
149149 timely :: example (| scope | {
@@ -163,7 +163,7 @@ There is also a `concatenate` method defined for scopes which collects all strea
163163``` rust
164164extern crate timely;
165165
166- use timely :: dataflow :: operators :: {ToStream , Partition , Concatenate , Inspect };
166+ use timely :: dataflow :: operators :: {ToStream , Concatenate , Inspect , vec :: Partition };
167167
168168fn main () {
169169 timely :: example (| scope | {
0 commit comments