Skip to content

Conversation

@pcwalton
Copy link
Contributor

r? @brson

bors added a commit that referenced this pull request Mar 28, 2013
@bors bors closed this Mar 28, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 17, 2020
identity_op: allow `1 << 0`

I went for accepting `1 << 0` verbatim instead of something more general as it seems to be what everyone in the issue thread needed.

changelog: identity_op: allow `1 << 0` as it's a common pattern in bit manipulation code.

Fixes rust-lang#3430
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