fix: mutable ref

pull/543/head
k-nasa 5 years ago
parent 91ee4c7b9f
commit a05b6a3810

@ -46,11 +46,9 @@ where
match next {
Some((a, b)) => {
let mut res = this.res.take().unwrap();
let res = this.res.as_mut().unwrap();
res.0.extend(Some(a));
res.1.extend(Some(b));
*this.res = Some(res);
}
None => return Poll::Ready(this.res.take().unwrap()),
}

Loading…
Cancel
Save