• Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    15
    ·
    23 days ago

    Result::flatten() is probably my favorite addition, but those lifetime linter changes might be really good, too.

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      arrow-up
      6
      ·
      22 days ago

      I’m more excited about File::lock and friends. I don’t currently have a use-case, but surely it’ll help w/ something like a SQLite implementation in Rust.

    • BB_C@programming.dev
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      23 days ago

      Result::flatten() is probably my favorite addition

      It’s rare to a have a negative reaction to a library addition. But I don’t like this one at all actually.

      For me, error contexts are as important as the errors themselves. And ergonomically helping with muddying these contexts is not a good thing!