Skip to content

Commit 01504b4

Browse files
authored
quick typo
1 parent 48e82da commit 01504b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/langref.html.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8729,7 +8729,7 @@ export fn @"A function name that is a complete sentence."() void {}
87298729
{#header_open|@expect#}
87308730
<pre>{#syntax#}@expect(operand: bool, comptime expected: bool) bool{#endsyntax#}</pre>
87318731
<p>
8732-
Returns a new bool with the value of operand which informs the compiler that it's likely to be {#syntax#}expected{#endsyntax#}. The compiler may use this information to improve branch generation by preferring to emit the most likely branch first.
8732+
Returns a new bool with the value of {#syntax#}operand{#endsyntax#} which informs the compiler that it's likely to be {#syntax#}expected{#endsyntax#}. The compiler may use this information to improve branch generation by preferring to emit the most likely branch first.
87338733
</p>
87348734
{#code_begin|obj|expect_if#}
87358735
export fn a(x: u32) void {

0 commit comments

Comments
 (0)