Skip to content

Mention futures create right before before it is needed#807

Open
mdevino wants to merge 1 commit into
tokio-rs:masterfrom
mdevino:patch-1
Open

Mention futures create right before before it is needed#807
mdevino wants to merge 1 commit into
tokio-rs:masterfrom
mdevino:patch-1

Conversation

@mdevino

@mdevino mdevino commented Dec 19, 2024

Copy link
Copy Markdown

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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant