Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Conversation

sammykim
Copy link
Contributor

Fix #8004

@@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#[allow(missing_doc)];
Copy link
Member

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?

@sammykim
Copy link
Contributor Author

sammykim commented Aug 5, 2013

r? @alexcrichton

pub trait CLike {
/// Converts an EnumSet to uint.
Copy link
Member

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?

@sammykim
Copy link
Contributor Author

sammykim commented Aug 6, 2013

r? @alexcrichton

Addressed all comments, and I also rebased this because of foreach syntax change.

@alexcrichton
Copy link
Member

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+

bors added a commit that referenced this pull request Aug 6, 2013
@bors bors closed this Aug 6, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 6, 2021
Upgrade map_flatten to complexity

changelog: upgrade [`map_flatten`] to complexity

Resolves rust-lang#7999
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.

Move EnumSet into libstd or libextra
3 participants