3 ms·
Shouldn't more of those prelude items be in "core", rather than "std"? Many involve neither I/O nor allocation.
by Animats 6y ago
Shouldn't more of those prelude items be in "core", rather than "std"? Many involve neither I/O nor allocation.
- TheCoelacanth 6y agoAll of the new items are in "core", e.g. https://doc.rust-lang.org/core/convert/trait.TryInto.html https://doc.rust-lang.org/core/convert/trait.TryInto.html
- 3836293648 6y agoEverything 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)