rust: Replace From<&T> for TT
impls with T::to_TT
methods
#177
Labels
good first issue
Good for newcomers
From<&T> for TT
impls with T::to_TT
methods
#177
We should not implement
From<>
trait for borrowed types. See https://rust-lang.github.io/api-guidelines/naming.html#ad-hoc-conversions-follow-as_-to_-into_-conventions-c-conv. All appearances ofFrom<&T> for TT
should be replaced withT::to_TT
methods.The text was updated successfully, but these errors were encountered: