recap icon indicating copy to clipboard operation
recap copied to clipboard

`std::result::Result`

Open afeistel opened this issue 2 months ago • 0 comments

What did you implement:

Replaces Result with std::result::Result in the derived code.

Why: had errors because of type Result<T> = std::result::Result<T, Error> (a common thing to do).

We really should also prefix everything with :: at some point (::std::something instead of std::something). For now, kept it consistent with existing code.

How did you verify your change:

Ran tests (they passed), ran the example (it didn't error out), built the code where I needed that change made (it compiled correctly).

What (if anything) would need to be called out in the CHANGELOG for the next release:

### Fixed

- Having a `Result` type alias no longer interferes with `#[derive(Recap)]`

afeistel avatar Oct 01 '25 16:10 afeistel