Skip to content

Commit

Permalink
oopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmcsherry committed May 1, 2019
1 parent e8afc8d commit 768b9ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions communication/src/allocator/zero_copy/allocator.rs
Expand Up @@ -60,7 +60,7 @@ pub fn new_vector<A: AllocateBuilder>(
allocators
.into_iter()
.zip(worker_promises)
.zip(network_futures)
.zip(worker_futures)
.enumerate()
.map(|(index, ((inner, promises), futures))| {
TcpBuilder {
Expand All @@ -72,7 +72,7 @@ pub fn new_vector<A: AllocateBuilder>(
}})
.collect();

(builders, network_promises, worker_futures)
(builders, network_promises, network_futures)
}

impl<A: AllocateBuilder> TcpBuilder<A> {
Expand Down

0 comments on commit 768b9ee

Please sign in to comment.