Open antonilol opened 4 days ago
Doesn't seem a very useful breaking change to remove the From, although there is value is adding TryFrom. Could you please re-add From to call TryFrom?
I can't, (see first comment), all From
implementations come with a TryFrom
implementation (same conversion, always returning Ok and Error is set to Infallible (empty type)), so they can't coexist (see https://doc.rust-lang.org/src/core/convert/mod.rs.html#802-815)
fixes #1311
Unfortunately this is a breaking change, Rust automatically implements
TryFrom
for types that implementFrom
, so just adding theTryFrom
implementation will not work.