Skip to content

ControlFlow docs should explicitly mention that it works with ? #88715

Closed
@matklad

Description

@matklad

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!

Metadata

Metadata

Assignees

Labels

A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions