Skip to content

Commit d3b15cd

Browse files
authored
Fix the name of trap_if_on_the_stack. (#545)
Fix a reference to `trap_if_on_the_stack` to use the correct name.
1 parent 988ec53 commit d3b15cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

design/mvp/Explainer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2582,7 +2582,7 @@ three runtime invariants:
25822582
component instance.
25832583
2. The Component Model disallows reentrance by trapping if a callee's
25842584
component-instance is already on the stack when the call starts.
2585-
(For details, see [`trap_if_on_stack`](CanonicalABI.md#task-state)
2585+
(For details, see [`trap_if_on_the_stack`](CanonicalABI.md#task-state)
25862586
in the Canonical ABI explainer.) This default prevents obscure
25872587
composition-time bugs and also enables more-efficient non-reentrant
25882588
runtime glue code. This rule will be relaxed by an opt-in

0 commit comments

Comments
 (0)