Skip to content

In hello-tokio, add note to check for .await if code seems to not run  #461

Open
@carllerche

Description

@carllerche

A common beginner mistake is to forget to call .await. The symptom is that the program does not do the expected work.

We should call this out on the hello-tokio page in a “troubleshooting” section maybe. We should also call out the must_use lint that should catch this error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions