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