-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why would structs not derive Debug ? #71
Comments
Wayy back when I started x11-rs, I figured it would be best to start with minimal |
I'm in quite a similar situation myself, but yeah I'd still be willing to spend some time on it and make a PR then. It looks more time-consuming than actually hard, at least for In short, I'd be in to make as many structs as possible derive |
I noticed this too, having Could also implement Debug for |
I'd just like to correct my earlier claim and point out that sadly, I'm not actually going to have the time to make a fork and fix this, at least not in the next few weeks. |
Greetings,
As far as I see it, making most structs derive at least
Debug
would be super convenient while not harmful. For instance, when drafting an error handler, it would be really nice to be able to format theXErrorEvent
struct in a single line, but as of today I can't, and I have to log each field manually instead.So I wonder if there's anything I'm missing and would really appreciate if this was "fixed". I would make a PR but I'd like to ensure that it's fine to do first.
The text was updated successfully, but these errors were encountered: