-
Notifications
You must be signed in to change notification settings - Fork 38
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
Cleanup #38
Cleanup #38
Conversation
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.
Looks good to me
} else if val > 63 { | ||
Ascii(u64::MAX ^ (1 << (val - 64)), u64::MAX, true) | ||
Ascii(u64::max_value() ^ (1 << (val - 64)), u64::max_value(), true) |
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.
Just wondering - so I learn the difference here - is there a reason for switching from using the constant to the method?
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.
It avoids having to import the std::u64
module, and there is a plan to deprecate that module and replace it with associated constants.
Description
Motivation and Context
How Has This Been Tested?
Types of changes
Checklist: