website
website copied to clipboard
Wrong assumption on chapter ordering
The chapter about select assumes the Future trait has not yet been discussed, even though it is the chapter just after the Async in depth chapter:
This error isn't very clear and we haven't talked much about Future yet either. For now, think of Future as the trait that must be implemented by a value in order to call .await on it
Ironically, I was just about to report that the Async-in-depth chapter should come after the chapter on select, as select is a very practical and important concept. Perhaps the Async-in-depth chapter could be split into a part which discusses the future trait and then another part which really goes in depth. Then the order could be
- Futures
- Select
- Async in depth