aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/langref.html.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index 162ba44700..cbd841e790 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -5700,7 +5700,6 @@ fn bar() !void {
try quux();
} else |err| switch (err) {
error.FileNotFound => try hello(),
- else => try another(),
}
}
@@ -5716,10 +5715,6 @@ fn hello() !void {
try bang2();
}
-fn another() !void {
- try bang1();
-}
-
fn bang1() !void {
return error.FileNotFound;
}