Jelte Fennema-Nio

Results 685 comments of Jelte Fennema-Nio

Originally, I think I wanted to insert on reads as well. The problem was indeed that you only have a immutable reference, not an mutable one when calling `get`. From...

I am not opposed to bumping MSRV to something less ancient, but I would like to do that only when increasing the major version of the library. Marking this lib...

@ffuugoo @tyranron This is needed to make `Error` derives with a Backtrace really nice. Then you can do something like: ```rust #[derive(From, Error, Display)] struct SimpleError; #[derive(From, Error, Display)] #[display(fmt="Some...

Possibly we would want this case to have a special syntax for usability, e.g. `#[from(backtrace_capture)]`

Removing this from the 1.0 milestone, since it doesn't require breaking changes.

Thanks for this PR, a few initial comments: 1. This can only be released as part of 1.0.0, since this is a breaking change. 2. Can you add a test...

And I'm a bit undecided if I'd like to keep the user friendly error messages too. They are quite helpful in cases of a programming error.

> One possibility is to support returning the original value through Err as an optional feature. This will not break backward compatibility. I think this is good idea. Could you...

removing this from the 1.0 milestone as this doesn't need a breaking change

To be clear the goald of this request would be to allow for: ```rust assert_eq(Example(1) + 3i32, Example(4)) ``` I think it makes sense to have this feature, but definitely...