2 ms·
It's just your opinion. For me second example (&impl SomeTrait) is more readable.
by EugeneOZ 8y ago
It's just your opinion. For me second example (&impl SomeTrait) is more readable.
- danieldk 8y agoI didn’t say it is less readable. I said it is more opaque. After all, there is still a type parameter implicitly. It is also inconsistent, because you still need type parameters on types or in cases where the type trait is defined on the impl block.