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

std::{uint, int} cleanups #11930

Merged
merged 4 commits into from
Feb 1, 2014
Merged

Conversation

brendanzab
Copy link
Member

No description provided.

@brendanzab
Copy link
Member Author

Updated!

assert_eq!(checked_next_power_of_two::<$T>(0), None);
let mut next_power = 1;
for i in range::<$T>(1, 40) {
assert_eq!(next_power_of_two(i), next_power);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checked

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops

@bors bors closed this Feb 1, 2014
@bors bors merged commit 1f15d24 into rust-lang:master Feb 1, 2014
@brendanzab brendanzab deleted the next_power_of_two branch February 1, 2014 13:53
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.

None yet

3 participants