Skip to content

next_power_of_two: add a doctest to show what happens on 0 #124838

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
May 8, 2024

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented May 7, 2024

No description provided.

@rustbot
Copy link
Collaborator

rustbot commented May 7, 2024

r? @scottmcm

rustbot has assigned @scottmcm.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels May 7, 2024
@scottmcm
Copy link
Member

scottmcm commented May 7, 2024

@bors r+ rollup=always

@bors
Copy link
Collaborator

bors commented May 7, 2024

📌 Commit 776f182 has been approved by scottmcm

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 7, 2024
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request May 7, 2024
…tmcm

next_power_of_two: add a doctest to show what happens on 0
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request May 7, 2024
…tmcm

next_power_of_two: add a doctest to show what happens on 0
bors added a commit to rust-lang-ci/rust that referenced this pull request May 7, 2024
…iaskrgr

Rollup of 3 pull requests

Successful merges:

 - rust-lang#124223 (coverage: Branch coverage support for let-else and if-let)
 - rust-lang#124571 (coverage: Clean up `mcdc_bitmap_bytes` and `conditions_num`)
 - rust-lang#124838 (next_power_of_two: add a doctest to show what happens on 0)

r? `@ghost`
`@rustbot` modify labels: rollup
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request May 8, 2024
…tmcm

next_power_of_two: add a doctest to show what happens on 0
workingjubilee added a commit to workingjubilee/rustc that referenced this pull request May 8, 2024
…tmcm

next_power_of_two: add a doctest to show what happens on 0
workingjubilee added a commit to workingjubilee/rustc that referenced this pull request May 8, 2024
…tmcm

next_power_of_two: add a doctest to show what happens on 0
bors added a commit to rust-lang-ci/rust that referenced this pull request May 8, 2024
…kingjubilee

Rollup of 4 pull requests

Successful merges:

 - rust-lang#124470 (std::net: Socket::new_raw now set to SO_NOSIGPIPE on freebsd.)
 - rust-lang#124782 (add note about `AlreadyExists` to `create_new`)
 - rust-lang#124788 (Convert instances of `target_os = "macos"` to `target_vendor = "apple"`)
 - rust-lang#124838 (next_power_of_two: add a doctest to show what happens on 0)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit ceb5ec3 into rust-lang:master May 8, 2024
6 checks passed
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request May 8, 2024
Rollup merge of rust-lang#124838 - RalfJung:next_power_of_two, r=scottmcm

next_power_of_two: add a doctest to show what happens on 0
@rustbot rustbot added this to the 1.80.0 milestone May 8, 2024
@RalfJung RalfJung deleted the next_power_of_two branch May 8, 2024 11:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants