| author | |
| committer | |
| log | ba546bbf2e8438c9b2325f36f392c9d95b432e8e |
| tree | c286bbb298b5d80afd02dfc9896d9b336ccd18d0 |
| parent | d9600adbebfca90a8e795f1c072e9e681fa86d81 |
2 files changed, 2 insertions(+), 2 deletions(-)
build.zig+1-1| ... | @@ -1,7 +1,7 @@ | ... | @@ -1,7 +1,7 @@ |
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | const deps = @import("./deps.zig"); | 2 | const deps = @import("./deps.zig"); |
| 3 | 3 | ||
| 4 | pub fn build(b: *std.build.Builder) void { | 4 | pub fn build(b: *std.Build) void { |
| 5 | const t = b.addTest(.{ | 5 | const t = b.addTest(.{ |
| 6 | .root_source_file = .{ .path = "main.zig" }, | 6 | .root_source_file = .{ .path = "main.zig" }, |
| 7 | }); | 7 | }); |
time.zig+1-1| ... | @@ -487,7 +487,7 @@ fn printLongName(writer: anytype, index: u16, names: []const string) !void { | ... | @@ -487,7 +487,7 @@ fn printLongName(writer: anytype, index: u16, names: []const string) !void { |
| 487 | } | 487 | } |
| 488 | 488 | ||
| 489 | fn wrap(val: u16, at: u16) u16 { | 489 | fn wrap(val: u16, at: u16) u16 { |
| 490 | var tmp = val % at; | 490 | const tmp = val % at; |
| 491 | return if (tmp == 0) at else tmp; | 491 | return if (tmp == 0) at else tmp; |
| 492 | } | 492 | } |
| 493 | 493 |