Coercions work now
This commit is contained in:
parent
1a913a6347
commit
ff38c3528a
@ -22,7 +22,7 @@ fn increment<'a>(&'a mut self) -> dyn* Future<Output = usize> + 'a {
|
|||||||
Box::pin(async {
|
Box::pin(async {
|
||||||
self.count += 1;
|
self.count += 1;
|
||||||
self.count
|
self.count
|
||||||
}) as dyn* Future<Output = _> // FIXME(dyn-star): coercion doesn't work here yet
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user