Skip to content

Commit

Permalink
Fix some instruction docs
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottt committed Oct 17, 2022
1 parent 76f210f commit fb49863
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cranelift/codegen/meta/src/shared/instructions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ fn define_control_flow(
r#"
Branch when zero.
If ``c`` is a `b1` value, take the branch when ``c`` is false. If
``c`` is an integer value, take the branch when ``c = 0``.
Take the branch when ``c = 0``.
"#,
&formats.branch,
)
Expand All @@ -67,8 +66,7 @@ fn define_control_flow(
r#"
Branch when non-zero.
If ``c`` is a `b1` value, take the branch when ``c`` is true. If
``c`` is an integer value, take the branch when ``c != 0``.
Take the branch when ``c != 0``.
"#,
&formats.branch,
)
Expand Down

0 comments on commit fb49863

Please sign in to comment.