A blog post proposing new channels for Rust's standard libraryhttps://stjepang.github.io/2019/03/02/new-channels.html …
-
-
having `channel::new(Unbounded)` and `channel::new(Bounded(usize))` would be fine to, at least semantics would be more clear than with `Option<usize>`
-
That means one more thing to import, just to have a single method instead of two. If that's just for discoverability in the docs, just put the two functions in their own impl block and document that impl block with fancy titles and whatnot.
- 1 more reply
New conversation -
-
-
ditto. Explicit > implicit
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.