From c46996a034f9cc52ab7b8add40f6dd5942a1d680 Mon Sep 17 00:00:00 2001 From: Noah <130611693+upupnoah@users.noreply.github.com> Date: Mon, 21 Oct 2024 17:24:42 +0800 Subject: [PATCH] fix: add type of code block (#95) --- reference/src/control-flow/labeled-control-flow.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/src/control-flow/labeled-control-flow.md b/reference/src/control-flow/labeled-control-flow.md index b408086e..311f62f0 100644 --- a/reference/src/control-flow/labeled-control-flow.md +++ b/reference/src/control-flow/labeled-control-flow.md @@ -129,7 +129,7 @@ contexts. To clarify program behavior, you may only use `break` and `continue` with loop labels, while `return` will only work with block labels. To this end, the following programs produce errors: -``` +```move fun bad_loop() { 'name: loop { return 'name 5