doc: inline comptime conditional block

Better illustrate what happens to the block after inlining comptime
conditionals.

closes #17106
This commit is contained in:
Michael Dusan 2023-09-10 14:23:22 -04:00 committed by Veikka Tuominen
parent d2014fe971
commit acc9471915

View file

@ -7015,7 +7015,9 @@ test "try to compare bools" {
</p>
{#code_begin|syntax|compiler_generated_function#}
fn max(a: bool, b: bool) bool {
return a or b;
{
return a or b;
}
}
{#code_end#}
<p>