Open Ogeon opened 1 year ago
As mentioned in #347, the error type for FromStr can be improved a bit:
FromStr
From<&'static str>
&str
Focuses the purpose of the error type and removes ambiguity.
Description
As mentioned in #347, the error type for
FromStr
can be improved a bit:From<&'static str>
implementation. It's ambiguous and not necessary for the library.&str
values. Each error has only one message anyway, or should have, so they can be part of the formatting instead.Motivation
Focuses the purpose of the error type and removes ambiguity.