Closed survived closed 3 months ago
The spec was successfully compiled. PDF is available here.
Instead of making Display instances by hand, we could convert what we had with thiserror
into https://docs.rs/displaydoc/
Nice! I'll try using it. Tho I'm not really a fan of deriving display impl from doc comments
I see that I can use #[displaydoc("...")]
instead. I'll give it a shot
@maurges I changed the code to use displaydoc
+ thiserror
. A bit prettier, but it did introduce a breaking change: the HdError<E>
now only implements Display
if E: Display
(it used to implement display for regardless of E
). However, I doubt it's an any significant breaking change...
the
HdError<E>
now only implementsDisplay
ifE: Display
It's silly that displaydoc crate doesn't allow us to request bounds by hand. But I agree that this is not really and important change
blocked by https://github.com/dfns/generic-ec/pull/25