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

Update Handle::current to mention EnterGuard #4567

Merged
merged 1 commit into from Apr 6, 2022

Commits on Mar 13, 2022

  1. Update Handle::current to mention EnterGuard

    Handle::current docs say it's not possible to call it on any non-runtime thread, but you can call it from a runtime context created by an EnterGuard. This updates the docs to mention EnterGuard as a way to avoid this panic.
    ObsidianMinor committed Mar 13, 2022
    Copy the full SHA
    aafc0ff View commit details
    Browse the repository at this point in the history