Skip to content

Refactor BitV internals to not use macro, reduce duplication, fix is_disjoint#16582

Merged
bors merged 2 commits intorust-lang:masterfrom
Gankra:bitv
Aug 19, 2014
Merged

Refactor BitV internals to not use macro, reduce duplication, fix is_disjoint#16582
bors merged 2 commits intorust-lang:masterfrom
Gankra:bitv

Conversation

@Gankra
Copy link
Copy Markdown
Contributor

@Gankra Gankra commented Aug 18, 2014

This was bothering me (and some other people). The macro was necessary in a transient step of my development, but I converged on a design where it was unnecessary, but it didn't really click that that had happened.

This fixes it up.

@Gankra Gankra changed the title Refactor BitV internals to not use macro, reduce duplication Refactor BitV internals to not use macro, reduce duplication, fix is_disjoint Aug 18, 2014
@Gankra
Copy link
Copy Markdown
Contributor Author

Gankra commented Aug 18, 2014

Lumping in a bug fix with this.

bors added a commit that referenced this pull request Aug 19, 2014
This was bothering me (and some other people). The macro was necessary in a transient step of my development, but I converged on a design where it was unnecessary, but it didn't really click that that had happened.

This fixes it up.
@bors bors closed this Aug 19, 2014
@bors bors merged commit dcccf82 into rust-lang:master Aug 19, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 18, 2024
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 21, 2026
*[View all
comments](https://triagebot.infra.rust-lang.org/gh-comments/rust-lang/rust-clippy/pull/16582)*

Add a lint to detect when the recently added Vec::pop_if,
VecDeque::pop_front_if, and VecDeque::pop_back_if are manually
implemented.

changelog: add [`manual_pop_if`] lint
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.

3 participants