Skip to content

Commit 6d42778

Browse files
Update panic.md
1 parent ba4a701 commit 6d42778

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/panic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ TypeScript: ``` ts
1010
U.userError("PANIC! Code " + code) // throw a panic code to the problems pane
1111
}
1212

13-
C++: ```
13+
C++: ``` cpp
1414
void pxtrt::panic(int code) {
1515
soft_panic(code); // because this is a high level panic function, it calls the safe normal panic, not a hard crash panic
1616
}

0 commit comments

Comments
 (0)