My Lemmy Oracle
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
monica_b1998@lemmy.world to Rust@programming.dev · 9 days ago

Error Handling in Rust vs. Exceptions in other languages

slicker.me

external-link
message-square
22
fedilink
33
external-link

Error Handling in Rust vs. Exceptions in other languages

slicker.me

monica_b1998@lemmy.world to Rust@programming.dev · 9 days ago
message-square
22
fedilink
  • calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    8 days ago

    Or just implement Into for your error type. ? Works for Into

    • jenesaisquoi@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 days ago

      Don’t implement Into, instead, implement From - and you’ll get Into for free

Rust@programming.dev

rust@programming.dev

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: [email protected]

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
Visibility: Public
globe

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

  • 21 users / day
  • 98 users / week
  • 401 users / month
  • 1.39K users / 6 months
  • 1 local subscriber
  • 8.08K subscribers
  • 1.22K Posts
  • 5.47K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • torcherist@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org