Kriskras99 opened a new pull request, #423: URL: https://github.com/apache/avro-rs/pull/423
The documentation for `From` mentions the following: > The conversion is _infallible_: if the conversion can fail, use `TryFrom` instead; don’t provide a `From` impl that panics. This removes the `From` implementation and implements `TryFrom` instead. It also implements `TryFrom<String>`. I would have prefered to implement `TryFrom<T>` where `T: AsRef<str>` but that's not possible in the current type resolver. This is a **breaking** change, any user using `Name::into` or `Alias::into` will have to update their code. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
