• Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    10
    ·
    2 months ago

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

    • BB_C@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 month 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!

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      1 month 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.