From ea49fc8c51b0acc4e4cbc39207d610b114f4f94b Mon Sep 17 00:00:00 2001 From: sakawi <65452710+zsakowitz@users.noreply.github.com> Date: Wed, 28 Jan 2026 15:23:51 -0800 Subject: [PATCH] Fix two typos around `ref.as_non_null` --- document/core/syntax/instructions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document/core/syntax/instructions.rst b/document/core/syntax/instructions.rst index ca9e55969e..74bbcc6348 100644 --- a/document/core/syntax/instructions.rst +++ b/document/core/syntax/instructions.rst @@ -254,7 +254,7 @@ The former merely returns the result of the test, while the latter performs a downcast and :ref:`traps ` if the operand's type does not match. .. note:: - 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. + 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. 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. An additional instruction operating on function references is the :ref:`control instruction ` ${:CALL_REF}.