rust icon indicating copy to clipboard operation
rust copied to clipboard

Use inspect_err where appropriate

Open lukipuki opened this issue 8 months ago • 0 comments

Summary There's Result::inspect_err since Rust 1.76, it allows for more readable error inspection.

I've also added InternalStreamError::write_error function which reduces boiler-plate.

Related Issues Minor cleanup

Checklist

  • [x] Tests pass locally
  • [x] Documentation updated if needed

lukipuki avatar May 12 '25 07:05 lukipuki