Skip to content

Commit

Permalink
Fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril committed Jul 16, 2024
1 parent 2b51b53 commit 102056c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charon/src/ast/llbc_ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub struct Statement {
)]
pub enum Switch {
/// Gives the `if` block and the `else` block. The `Operand` is the condition of the `if`, e.g. `if (y == 0)` could become
/// ```
/// ```rust,ignore
/// v@3 := copy y; // Represented as `Assign(v@3, Use(Copy(y))`
/// v@2 := move v@3 == 0; // Represented as `Assign(v@2, BinOp(BinOp::Eq, Move(y), Const(0)))`
/// if (move v@2) { // Represented as `If(Move(v@2), <then branch>, <else branch>)`
Expand Down

0 comments on commit 102056c

Please sign in to comment.