092_interfaces.patch 339 B

1234567891011
  1. --- exercises/092_interfaces.zig 2023-10-03 22:15:22.125574535 +0200
  2. +++ answers/092_interfaces.zig 2023-10-05 20:04:07.259437354 +0200
  3. @@ -106,7 +106,7 @@
  4. for (my_insects) |insect| {
  5. // Almost done! We want to print() each insect with a
  6. // single method call here.
  7. - ???
  8. + insect.print();
  9. }
  10. }