DEV Community

Discussion on: Rust futures: an uneducated, short and hopefully not boring tutorial - Part 5 - Streams

Collapse
 
cerceris profile image
Andrei Borodaenko

Hi Francesco,

Let's build a very simple stream: one that returns the integers from 0 up to X

It seems that the poll implementation returns 1..max (both ends inclusively).