Skip to content

Derive Clone, Debug on useful objects#287

Open
martin-hughes wants to merge 1 commit intorust-osdev:mainfrom
martin-hughes:extra-derives
Open

Derive Clone, Debug on useful objects#287
martin-hughes wants to merge 1 commit intorust-osdev:mainfrom
martin-hughes:extra-derives

Conversation

@martin-hughes
Copy link
Copy Markdown
Contributor

In my project I found it would be useful to have an explicit Clone for PciConfigRegions. Looking through the platform structs, I also saw NumaInfo looked like it would benefit from Clone.

Plus since neither struct is self-referential, I added a Debug derive because I find it useful surprisingly often!

Any objections?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant