News for hackers. Stuff that matters.
Re:The Plan for the Rust 2021 Edition by Animats on Tuesday May 11, 2021 @04:48PM (#27123317)
Shouldn't more of those prelude items be in "core", rather than "std"? Many involve neither I/O nor allocation.
Re:The Plan for the Rust 2021 Edition by TheCoelacanth on Tuesday May 11, 2021 @05:21PM (#27123678)
All of the new items are in "core", e.g. https://doc.rust-lang.org/core/convert/trait.TryInto.html
Re:The Plan for the Rust 2021 Edition by 3836293648 on Tuesday May 11, 2021 @06:59PM (#27124694)
Everything in core is also in std. You only link to anything in core in a no_std context (or if you do it explicitly for some reason)