diff --git a/zig.html.markdown b/zig.html.markdown index 4046ae4313..68bff9acdf 100644 --- a/zig.html.markdown +++ b/zig.html.markdown @@ -588,9 +588,7 @@ const x = switch (direction) { .South => true, }; - -// Switch statements need exhaustiveness. -// Won't compile: East and West are missing. +// This compiles without errors, since it exhaustively lists all possible values const x = switch (direction) { .North => true, .South => true,