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

Merge pull request 'Fixed link to format source code.' (#180) from fix-link-99 into main

Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/180
Chris Boesch 9 месяцев назад
Родитель
Сommit
4d4eefa523
2 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      exercises/099_formatting.zig
  2. 2 2
      patches/patches/099_formatting.patch

+ 1 - 1
exercises/099_formatting.zig

@@ -16,7 +16,7 @@
 // Therefore, the comments for the format() function are the only
 // way to definitively learn how to format strings in Zig:
 //
-//     https://github.com/ziglang/zig/blob/master/lib/std/fmt.zig#L29
+//     https://github.com/ziglang/zig/blob/master/lib/std/fmt.zig#L33
 //
 // Zig already has a very nice selection of formatting options.
 // These can be used in different ways, but generally to convert

+ 2 - 2
patches/patches/099_formatting.patch

@@ -1,5 +1,5 @@
---- exercises/099_formatting.zig	2023-10-03 22:15:22.125574535 +0200
-+++ answers/099_formatting.zig	2023-10-05 20:04:07.292771311 +0200
+--- exercises/099_formatting.zig	2024-11-07 21:45:10.459123650 +0100
++++ answers/099_formatting.zig	2024-11-07 21:43:55.154345991 +0100
 @@ -131,7 +131,7 @@
          for (0..size) |b| {
              // What formatting is needed here to make our columns