diff --git a/Chapters/03-structs.qmd b/Chapters/03-structs.qmd index 11b4861..1dd3552 100644 --- a/Chapters/03-structs.qmd +++ b/Chapters/03-structs.qmd @@ -290,6 +290,11 @@ xsw: switch (@as(u8, 1)) { 2 => continue :xsw 3, 3 => return, 4 => {}, + else => { + try stdout.print( + "Unmatched case, value: {d}\n", .{@as(u8, 1)} + ); + }, } ```