You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know it would be a breaking change, but I think it should definitely be considered for the next major version.
Please provide a blanked impl for &D: Diagnostic
impl<D:Diagnostic>Diagnosticfor&D{// ... trait methods forward to `D`}
Considering that all methods of Diagnostic take in &self, it would be trivially implementable and is a pattern extensively used by std traits like io::Write or Iterator.
I got the problem factored out of my original use case, but IMO it is still The Right Thing To Do!
The text was updated successfully, but these errors were encountered:
I know it would be a breaking change, but I think it should definitely be considered for the next major version.
Please provide a blanked impl for
&D: Diagnostic
Considering that all methods of
Diagnostic
take in&self
, it would be trivially implementable and is a pattern extensively used bystd
traits likeio::Write
orIterator
.I got the problem factored out of my original use case, but IMO it is still The Right Thing To Do!
The text was updated successfully, but these errors were encountered: