commit | 2c848a6dbb7befb106d5d5b5d45873a9b0dfaabb | [log] [tgz] |
---|---|---|
author | Stjepan Glavina <stjepang@gmail.com> | Sun Apr 12 19:51:09 2020 +0200 |
committer | Stjepan Glavina <stjepang@gmail.com> | Sun Apr 12 19:52:32 2020 +0200 |
tree | 6892332c87b7b5383bee86d9776a849a733288f2 | |
parent | 4ce22ee7263706976c5c13429e3a276f1a7360a9 [diff] [blame] |
Bump to v2.0.0
diff --git a/examples/block.rs b/examples/block.rs index e4124b2..dea10be 100644 --- a/examples/block.rs +++ b/examples/block.rs
@@ -12,7 +12,7 @@ /// Runs a future to completion on the current thread. fn block_on<F: Future>(future: F) -> F::Output { // Pin the future on the stack. - pin_utils::pin_mut!(future); + futures::pin_mut!(future); thread_local! { // Parker and waker associated with the current thread.