diff options
| author | r00ster91 <r00ster91@proton.me> | 2023-06-02 22:02:45 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-06-16 13:44:09 -0700 |
| commit | 259315606827620daaabf82b479e59ee710097cd (patch) | |
| tree | 16c797e4cc15479a27e64b4414517d9334f52250 /lib/std/Build/Cache | |
| parent | 22c6b6c9a9378aaca75c83c2182a6d94298f6bc2 (diff) | |
| download | zig-259315606827620daaabf82b479e59ee710097cd.tar.gz zig-259315606827620daaabf82b479e59ee710097cd.zip | |
migration: std.math.{min, min3, max, max3} -> `@min` & `@max`
Diffstat (limited to 'lib/std/Build/Cache')
| -rw-r--r-- | lib/std/Build/Cache/DepTokenizer.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Build/Cache/DepTokenizer.zig b/lib/std/Build/Cache/DepTokenizer.zig index 1a4e2ddb74..0e5224edc0 100644 --- a/lib/std/Build/Cache/DepTokenizer.zig +++ b/lib/std/Build/Cache/DepTokenizer.zig @@ -983,7 +983,7 @@ fn hexDump(out: anytype, bytes: []const u8) !void { try printDecValue(out, offset, 8); try out.writeAll(":"); try out.writeAll(" "); - var end1 = std.math.min(offset + n, offset + 8); + var end1 = @min(offset + n, offset + 8); for (bytes[offset..end1]) |b| { try out.writeAll(" "); try printHexValue(out, b, 2); |
