diff --git a/async-book/src/ch06-building-futures-by-hand.md b/async-book/src/ch06-building-futures-by-hand.md index 3c9eee4..05d5750 100644 --- a/async-book/src/ch06-building-futures-by-hand.md +++ b/async-book/src/ch06-building-futures-by-hand.md @@ -219,11 +219,7 @@ pub struct Select { b: B, } -impl Select -where - A: Future + Unpin, - B: Future + Unpin, -{ +impl Select { pub fn new(a: A, b: B) -> Self { Select { a, b } }