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).pull/703/head
parent
125fa5b0a0
commit
aae835cc14
Loading…
Reference in New Issue