website icon indicating copy to clipboard operation
website copied to clipboard

Mention futures create right before before it is needed

Open mdevino opened this issue 1 year ago • 0 comments

I was just following the Tokio tutorial and notice that, in the Async in depth section, the futures crate is mentioned before there are instructions to add it to Cargo.toml.

First occurrence: image

But is only mentioned later in the tutorial: image

This PR slightly changes the tutorial, so that the cargo add instructions are shown before the crate first usage.

Please let me know if further adjustments would be needed.

mdevino avatar Dec 19 '24 15:12 mdevino