-
Notifications
You must be signed in to change notification settings - Fork 5
Don't require members of structs to also impl TypeName #10
Comments
IIRC, we don't require for generic types implementing What might happen is that somewhere a type name of a |
@antiguru But that's what I mean, |
Currently, we include generic parameters in the type name, as they are effectively part of the type. Instead of using |
@antiguru But why are you including generic parameters in the type name? (I want to avoid having to manually implement |
We have found it useful to differentiate between In addition, I also wanted to be roughly compatible with If you need type names without generic parameters, I recommend you use the named_type crate instead. |
It shouldn't be necessary for members to also impl
TypeName
.The text was updated successfully, but these errors were encountered: