Sopuli
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
AgreeableLandscape@lemmy.mlM to Rust Programming@lemmy.ml · 3 years ago

"Rust needs evert(), which turns an iterator over Result of T into a Result of a collection of T or a collection of errors" Thoughts on this?

cybre.space

external-link
message-square
4
link
fedilink
7
external-link

"Rust needs evert(), which turns an iterator over Result of T into a Result of a collection of T or a collection of errors" Thoughts on this?

cybre.space

AgreeableLandscape@lemmy.mlM to Rust Programming@lemmy.ml · 3 years ago
message-square
4
link
fedilink
✨Nora Tindall (@tindall@cybre.space)
cybre.space
external-link
Rust needs evert(), which turns an iterator over Result of T into a Result of a collection of T or a collection of errors currently the most ergonomic way to do this is to wrap a whole pipeline in a function boundary and use `?`.
  • Yujiri@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    3 years ago

    deleted by creator

Rust Programming@lemmy.ml

rust@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !rust@lemmy.ml
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 68 users / month
  • 537 users / 6 months
  • 95 local subscribers
  • 8.88K subscribers
  • 472 Posts
  • 1.17K Comments
  • Modlog
  • mods:
  • Nutomic@lemmy.ml
  • Joe@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.12
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org