-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
ControlFlow docs should explicitly mention that it works with ? #88715
Labels
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
Comments
matklad
added
the
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
label
Sep 7, 2021
Will do! @rustbot claim |
chrismit3s
added a commit
to chrismit3s/rust
that referenced
this issue
Oct 1, 2021
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Oct 31, 2021
…riplett Add paragraph to ControlFlow docs to menion it works with the ? operator (rust-lang#88715) fixes rust-lang#88715 r? `@steveklabnik`
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Oct 31, 2021
…riplett Add paragraph to ControlFlow docs to menion it works with the ? operator (rust-lang#88715) fixes rust-lang#88715 r? ``@steveklabnik``
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Oct 31, 2021
…askrgr Rollup of 8 pull requests Successful merges: - rust-lang#89446 (Add paragraph to ControlFlow docs to menion it works with the ? operator (rust-lang#88715)) - rust-lang#89677 (Stabilize `is_symlink()` for `Metadata` and `Path`) - rust-lang#89833 (Add #[must_use] to Rc::downgrade) - rust-lang#89835 (Add #[must_use] to expensive computations) - rust-lang#89839 (Add #[must_use] to mem/ptr functions) - rust-lang#89897 (Add #[must_use] to remaining core functions) - rust-lang#89951 (Stabilize `option_result_unwrap_unchecked`) - rust-lang#90427 (Add #[must_use] to alloc functions that would leak memory) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
We stabilized ControlFlow: https://doc.rust-lang.org/stable/std/ops/enum.ControlFlow.html
That’s somewhat of a big deal, as it is now the third type (in addition to Option and Result), which works with
?
operator on stable. This isn’t immediately obvious from the docs though!The text was updated successfully, but these errors were encountered: