-
-
Notifications
You must be signed in to change notification settings - Fork 16
refactor!: Make KeyValuePairs an alias for BTreeMap #889
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice job, I like it!
Left a bunch of small comments, nothing major.
#[cfg(doc)] | ||
use k8s_openapi::apimachinery::pkg::apis::meta::v1::ObjectMeta; | ||
#[cfg(doc)] | ||
use std::ops::Deref; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: Move these imports to the std library and external crate imports at the top of the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it makes sense to call out doc-only "fake" imports as different from regular one (just like publics), though we definitely haven't done a great job at consistency around that in general.
This is effectively an extended version of #888 (and supersedes it).