Skip to content

use then in docs for fuse to enhance readability - #138684

Merged
bors merged 1 commit into
rust-lang:masterfrom
bend-n:use_then
Mar 19, 2025
Merged

use then in docs for fuse to enhance readability#138684
bors merged 1 commit into
rust-lang:masterfrom
bend-n:use_then

Conversation

@bend-n

Copy link
Copy Markdown
Contributor

use the more-idiomatic then_some rather than an if { some } else { none } for fused docs

@rustbot

Copy link
Copy Markdown
Collaborator

r? @jhpratt

rustbot has assigned @jhpratt.
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

@rustbotrustbot 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 Mar 19, 2025
@jhpratt

Copy link
Copy Markdown
Member

@bors r+ rollup

@bors

bors commented Mar 19, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 7a8cdf0 has been approved by jhpratt

It is now in the queue for this repository.

@bors

bors commented Mar 19, 2025

Copy link
Copy Markdown
Collaborator

🌲 The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened.

@borsbors 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 Mar 19, 2025
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 19, 2025
…iaskrgr
Rollup of 10 pull requests
Successful merges:
- rust-lang#136177 (clarify BufRead::{fill_buf, consume} docs)
- rust-lang#138654 (Remove the regex dependency from coretests)
- rust-lang#138655 (rustc-dev-guide sync)
- rust-lang#138656 (Remove double nesting in post-merge workflow)
- rust-lang#138658 (CI: mirror alpine and centos images to ghcr)
- rust-lang#138659 (coverage: Don't store a body span in `FunctionCoverageInfo`)
- rust-lang#138661 (Revert: Add *_value methods to proc_macro lib)
- rust-lang#138670 (Remove existing AFIDT implementation)
- rust-lang#138674 (Various codegen_llvm cleanups)
- rust-lang#138684 (use then in docs for `fuse` to enhance readability)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 3b7faca into rust-lang:masterMar 19, 2025
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Mar 19, 2025
Rollup merge of rust-lang#138684 - bend-n:use_then, r=jhpratt
use then in docs for `fuse` to enhance readability
use the more-idiomatic `then_some` rather than an `if { some } else { none }` for `fused` docs
@rustbotrustbot added this to the 1.87.0 milestone Mar 19, 2025
@bend-n
bend-n deleted the use_then branch March 29, 2025 01:08
github-actionsBot pushed a commit to model-checking/verify-rust-std that referenced this pull request Apr 2, 2025
use then in docs for `fuse` to enhance readability
use the more-idiomatic `then_some` rather than an `if { some } else { none }` for `fused` docs
github-actionsBot pushed a commit to model-checking/verify-rust-std that referenced this pull request Apr 2, 2025
…iaskrgr
Rollup of 10 pull requests
Successful merges:
- rust-lang#136177 (clarify BufRead::{fill_buf, consume} docs)
- rust-lang#138654 (Remove the regex dependency from coretests)
- rust-lang#138655 (rustc-dev-guide sync)
- rust-lang#138656 (Remove double nesting in post-merge workflow)
- rust-lang#138658 (CI: mirror alpine and centos images to ghcr)
- rust-lang#138659 (coverage: Don't store a body span in `FunctionCoverageInfo`)
- rust-lang#138661 (Revert: Add *_value methods to proc_macro lib)
- rust-lang#138670 (Remove existing AFIDT implementation)
- rust-lang#138674 (Various codegen_llvm cleanups)
- rust-lang#138684 (use then in docs for `fuse` to enhance readability)
r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-libsRelevant 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

@bend-n@rustbot@jhpratt@bors