cairo icon indicating copy to clipboard operation
cairo copied to clipboard

Add `Debug` implementation with clippy

Open tcoratger opened this issue 9 months ago • 0 comments

In circumstances like cairo_native, and other projects working on Cairo and its compilation, it is extremely useful to have a Debug implementation for each public structure and enum.

Therefore, the lint MISSING_DEBUG_IMPLEMENTATIONS is added with a derivation of Debug wherever possible, along with an allow attribute when the implementation is more complex.

This allows for the implementation of Debug for a large number of new objects that did not previously have this implementation, with the potential for further refinement in the future.


This change is Reviewable

tcoratger avatar May 07 '24 14:05 tcoratger