Browse Source

Merge pull request 'fixed variable declaration by changing it to a const, since it's never mutated' (#27) from zev/exercises:main into main

Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/27
Chris Boesch 1 year ago
parent
commit
b7015c2d9d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build.zig

+ 1 - 1
build.zig

@@ -288,7 +288,7 @@ const ZiglingStep = struct {
         // Allow up to 1 MB of stdout capture.
         const max_output_bytes = 1 * 1024 * 1024;
 
-        var result = Child.run(.{
+        const result = Child.run(.{
             .allocator = b.allocator,
             .argv = &.{exe_path},
             .cwd = b.build_root.path.?,