forked from mirror/async-std
channel/recv: improving function docs and code example
At the moment it's not clear when and why recv returns Option<T>, instead of just T. This changed comment makes it clear that None will only be returned once no data will ever be sent again (i.e. after all senders are gone).mio-0-7
parent
125fa5b0a0
commit
aae835cc14
Loading…
Reference in New Issue