Просмотр исходного кода

Merge pull request #280 from arnon4/patch-1

Fixed example syntax for inline else
Chris Boesch 2 лет назад
Родитель
Сommit
e273dd298e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      exercises/092_interfaces.zig

+ 1 - 1
exercises/092_interfaces.zig

@@ -40,7 +40,7 @@
 //
 //   switch (thing) {
 //       .a => |a| special(a),
-//       inline else |t| => normal(t),
+//       inline else => |t| normal(t),
 //   }
 //
 // We can have special handling of some cases and then Zig