diff --git a/doc/langref.html.in b/doc/langref.html.in index c163575cbd..a56d2fd086 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -5472,7 +5472,8 @@ fn doAThing(str: []u8) !void {
Here we know for sure that "1234" will parse successfully. So we put the {#syntax#}unreachable{#endsyntax#} value on the right hand side. {#syntax#}unreachable{#endsyntax#} generates - a panic in Debug and ReleaseSafe modes and undefined behavior in ReleaseFast mode. So, while we're debugging the + a panic in {#link|Debug#} and {#link|ReleaseSafe#} modes and undefined behavior in + {#link|ReleaseFast#} and {#link|ReleaseSmall#} modes. So, while we're debugging the application, if there was a surprise error here, the application would crash appropriately.
@@ -11891,7 +11892,7 @@ fn readU32Be() u32 {} Depending on the build mode, {#syntax#}unreachable{#endsyntax#} may emit a panic.