More updates for RFC 1214

This commit is contained in:
Andrew Poelstra 2015-09-20 16:44:05 -05:00
parent edb6d7b17b
commit eeb4655886
2 changed files with 2 additions and 4 deletions

View File

@ -16,11 +16,9 @@ readme = "README.md"
name = "bitcoin" name = "bitcoin"
path = "src/lib.rs" path = "src/lib.rs"
[dependencies.eventual]
git = "https://github.com/carllerche/eventual"
[dependencies] [dependencies]
byteorder = "0.3" byteorder = "0.3"
eventual = "0.1"
num = "0.1" num = "0.1"
num_cpus = "0.2" num_cpus = "0.2"
rand = "0.3" rand = "0.3"

View File

@ -63,7 +63,7 @@ impl<I: Iterator> Pair<I> {
} }
/// Returns an iterator that returns elements of the original iterator 2 at a time /// Returns an iterator that returns elements of the original iterator 2 at a time
pub trait Pairable : Sized { pub trait Pairable : Sized + Iterator {
/// Returns an iterator that returns elements of the original iterator 2 at a time /// Returns an iterator that returns elements of the original iterator 2 at a time
fn pair(self) -> Pair<Self>; fn pair(self) -> Pair<Self>;
} }