]> git.proxmox.com Git - cargo.git/commitdiff
Auto merge of #10646 - koic:use_rust_2021_prelude, r=epage
authorbors <bors@rust-lang.org>
Tue, 10 May 2022 16:48:05 +0000 (16:48 +0000)
committerbors <bors@rust-lang.org>
Tue, 10 May 2022 16:48:05 +0000 (16:48 +0000)
Use the traits added to the Rust 2021 Edition prelude

Follow up https://github.com/rust-lang/rust/pull/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


Trivial merge