Rust library
branch
This is Rust standard-library source from the compiler version used in the run.
2776 }2777 2778 #[inline]2779 fn branch(self) -> ControlFlow<Self::Residual, Self::Output> {2780 match self {2781 Some(v) => ControlFlow::Continue(v),2782 None => ControlFlow::Break(None),Aeneas declaration
Aeneas generated this declaration for a Rust library operation. Any authored model recorded for this operation is shown below.
@[rust_fun
"core::option::{core::ops::try_trait::Try<core::option::Option<@T>>}::branch"]
axiom core.option.Option.Insts.CoreOpsTry_traitTry.branch
{T : Type} :
Option T → Result (core.ops.control_flow.ControlFlow (Option
core.convert.Infallible) T)Source details
| Declaration | core.option.Option.Insts.CoreOpsTry_traitTry.branch |
|---|---|
| File | /rustc/library/core/src/option.rs |
| Lines | 2779:4–2779:64 |
| Program version | Preparation 1 |