website icon indicating copy to clipboard operation
website copied to clipboard

Wrong assumption on chapter ordering

Open ineol opened this issue 5 years ago • 1 comments

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

ineol avatar Dec 26 '20 15:12 ineol

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

barafael avatar Sep 01 '22 09:09 barafael