Skip to content

Commit 7845de0

Browse files
authored
zig: use "const" for variables that are never mutated (#1742)
1 parent 1ccb465 commit 7845de0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fiat-zig/build.zig

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inversion/zig/build.zig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const std = @import("std");
22

33
pub fn build(b: *std.Build) void {
4-
var main_tests = b.addTest(.{
4+
const main_tests = b.addTest(.{
55
.root_source_file = .{ .path = "inversion.zig" },
66
});
77
const run_main_tests = b.addRunArtifact(main_tests);

0 commit comments

Comments
 (0)