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

Use the traits added to the Rust 2021 Edition prelude #5342

Merged
merged 1 commit into from
May 14, 2022

Conversation

koic
Copy link
Contributor

@koic koic commented May 14, 2022

Follow up rust-lang/rust#96861.

This PR uses the traits added to the Rust 2021 Edition prelude.

The TryInto, TryFrom and FromIterator traits are now part of the prelude.

https://doc.rust-lang.org/edition-guide/rust-2021/prelude.html

Follow up rust-lang/rust#96861.

This PR uses the traits added to the Rust 2021 Edition prelude.

> The `TryInto`, `TryFrom` and `FromIterator` traits are now part of the prelude.

https://doc.rust-lang.org/edition-guide/rust-2021/prelude.html
Copy link
Member

@calebcartwright calebcartwright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@calebcartwright calebcartwright merged commit 8a4c058 into rust-lang:master May 14, 2022
@koic koic deleted the use_rust_2021_prelude branch May 14, 2022 15:42
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.

2 participants