Skip to content

Commit a4b2e49

Browse files
authored
[spec] Fix two typos around ref.as_non_null (#2062)
1 parent f91f362 commit a4b2e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

document/core/syntax/instructions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ The former merely returns the result of the test,
254254
while the latter performs a downcast and :ref:`traps <trap>` if the operand's type does not match.
255255

256256
.. note::
257-
The ${:BR_ON_NULL} and ${:BR_ON_NON_NULL} instructions provide versions of ${:REF.AS_NULL} that branch depending on the success of failure of a null test instead of trapping.
257+
The ${:BR_ON_NULL} and ${:BR_ON_NON_NULL} instructions provide versions of ${:REF.AS_NON_NULL} that branch depending on the success or failure of a null test instead of trapping.
258258
Similarly, the ${:BR_ON_CAST} and ${:BR_ON_CAST_FAIL} instructions provides versions of ${:REF.CAST} that branch depending on the success of the downcast instead of trapping.
259259

260260
An additional instruction operating on function references is the :ref:`control instruction <syntax-instr-control>` ${:CALL_REF}.

0 commit comments

Comments
 (0)