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

Async fn in trait information outdated #220

Open
Nereuxofficial opened this issue Jul 25, 2024 · 0 comments
Open

Async fn in trait information outdated #220

Nereuxofficial opened this issue Jul 25, 2024 · 0 comments

Comments

@Nereuxofficial
Copy link
Contributor

Nereuxofficial commented Jul 25, 2024

Currently async in traits section claims that async fn cannot be used in traits in stable Rust. As of the release of Rust 1.75 this is no longer true.

The section should be updated to reflect the current situation of using async in traits, what limitations apply and why async_trait might still be used.

#215 adds a reference to the async fn in Traits announcement post, however does not yet clarify that this is as of now available in stable Rust and it's usage.

@Nereuxofficial Nereuxofficial changed the title Async in trait information outdated Async fn in trait information outdated Jul 25, 2024
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

No branches or pull requests

1 participant