4 ms·
Hmm, what happened to task::spawn? use task::spawn; is failing in one of my example programs and I don't see this mentioned in the changelog. Edit: OK, n
by graue 14y ago
Hmm, what happened to task::spawn?
use task::spawn;
is failing in one of my example programs and I don't see this mentioned in the changelog.
Edit: OK, need to add "core::" in front, thanks dbaupp. There's another little Rust 0.5 program I'm trying to unbreak here - suggestions appreciated: https://gist.github.com/graue/5282602 https://gist.github.com/graue/5282602
- dbaupp 14y agoImports are now absolute, so use core::task::spawn;