Elektrine lite

← Feed

@Mara@hachyderm.io

Post #2227723

2025-11-19 10:04 UTC

@tauon@possum.city but `{res}` would be the whole `Result`, not just the `E`, right?

Replies (2)

  • @bugaevc@floss.social 2025-11-19 10:22

    @Mara@hachyderm.io @tauon@possum.city moreover, that just wouldn't work since we've already moved the `res` into the LHS

    Open ##2227724

  • @tauon@possum.city 2025-11-19 10:30

    @Mara@hachyderm.io yeah, it should still work but you'd see the Err(…) around it (if you didn't want to you'd have to do .unwrap_err which looks worse and is what we're trying to avoid)

    Open ##2227726