[zig/en] Remove incorrect comment in enum section (#5061)

* [zig/en] Remove incorrect comment in enum section

Remove a comment in the enum section since it incorrectly says a code
snippet won't compile

* [zig/en] Add comment to enum section
This commit is contained in:
chupson 2024-08-29 13:17:40 +02:00 committed by GitHub
parent 65d8f4221b
commit 27c5e6bae0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,