Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poll is now in a different package #2

Open
JGFMK opened this issue Aug 14, 2020 · 0 comments
Open

Poll is now in a different package #2

JGFMK opened this issue Aug 14, 2020 · 0 comments

Comments

@JGFMK
Copy link

JGFMK commented Aug 14, 2020

https://learning.oreilly.com/videos/rust-programming-recipes/9781838648664/9781838648664-video5_4

futures::Poll has become futures::task::Poll

So: @0:51
use futures::task::Context;
use futures::Poll;
becomes
use futures::task::{Context,Poll};
Current:
https://docs.rs/futures/0.3.5/futures/task/enum.Poll.html
Before:
https://docs.rs/futures/0.1.5/futures/type.Poll.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant