-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Update mod comment #118236
Update mod comment #118236
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @cuviper (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
Thanks! @bors r+ rollup |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#115331 (optimize str::iter::Chars::advance_by) - rust-lang#118236 (Update mod comment) - rust-lang#118299 (Update `OnceLock` documentation to give a concrete 'lazy static' example, and expand on the existing example.) - rust-lang#118314 (Rename `{collections=>alloc}{tests,benches}`) - rust-lang#118341 (Simplify indenting in THIR printing) - rust-lang#118366 (Detect and reject malformed `repr(Rust)` hints) - rust-lang#118397 (Fix comments for unsigned non-zero `checked_add`, `saturating_add`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#118236 - ksw2000:update_mod_comment, r=cuviper Update mod comment The comment of `ASCII_CASE_MASK` on line 477 is `If 6th bit is set ascii is lower case.` but the original comment of `*self ^ ((self.is_ascii_lowercase() as u8) * ASCII_CASE_MASK)` was `Toggle the fifth bit if this is a lowercase letter`
The comment of
ASCII_CASE_MASK
on line 477 isIf 6th bit is set ascii is lower case.
but the original comment of*self ^ ((self.is_ascii_lowercase() as u8) * ASCII_CASE_MASK)
wasToggle the fifth bit if this is a lowercase letter