-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Move EnumSet into libextra #8054
Conversation
@@ -8,6 +8,7 @@ | |||
// option. This file may not be copied, modified, or distributed | |||
// except according to those terms. | |||
|
|||
#[allow(missing_doc)]; |
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.
libextra is normally held to a higher coding standard than librustc/libsyntax, especially in terms of documentation. That's why this is set to deny-by-default for these libraries. It'd be a shame to increase the amount of these, so would you mind adding documentation to the methods as well?
pub trait CLike { | ||
/// Converts an EnumSet to uint. |
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 don't think this actually has anything to do with EnumSet
, also could you align these with the field declarations themselves?
Addressed all comments, and I also rebased this because of foreach syntax change. |
Sorry to be a bit picky, but as one final thing could you squash all the commits together? This seems like one nice change for a commit. Other than that though, r+ |
Upgrade map_flatten to complexity changelog: upgrade [`map_flatten`] to complexity Resolves rust-lang#7999
Fix #8004