Currently Iri<T> and IriRef<T>deriveDebug, meaning that they only implement it if T implements it.
If would make more sense for Iri and IriRef to provide their own implementation of Debug, regarless of T (after all, T implements Borrow<str> so it is trivially "displayable").
This would also avoid the frustration of Iri<T> or IriRef<T>not implementing Term when T is too generic (see #169).
Currently
Iri<T>
andIriRef<T>
deriveDebug
, meaning that they only implement it ifT
implements it.If would make more sense for
Iri
andIriRef
to provide their own implementation ofDebug
, regarless ofT
(after all,T
implementsBorrow<str>
so it is trivially "displayable").This would also avoid the frustration of
Iri<T>
orIriRef<T>
not implementingTerm
whenT
is too generic (see #169).