Hacker News new | ask | show | jobs
by Animats 1867 days ago
Shouldn't more of those prelude items be in "core", rather than "std"? Many involve neither I/O nor allocation.
2 comments

All of the new items are in "core", e.g. https://doc.rust-lang.org/core/convert/trait.TryInto.html
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)