diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-10-18 14:42:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-18 14:42:55 -0400 |
| commit | b120c819dbd15b23cf5392a5d5bdd8d8af18ead0 (patch) | |
| tree | 87346d128a1cb6f2e5bc6983d9407676d1429f22 /lib/std/debug.zig | |
| parent | 4962f36b0fe81a6cec7f2d2200f64255f37dbecd (diff) | |
| parent | 71e0ab4ec7949432cd4d0281f67479d222084507 (diff) | |
| download | zig-b120c819dbd15b23cf5392a5d5bdd8d8af18ead0.tar.gz zig-b120c819dbd15b23cf5392a5d5bdd8d8af18ead0.zip | |
Merge pull request #13055 from alichraghi/m2m
all: rename `@maximum` to `@max` and `@minimum` to `@min`
Diffstat (limited to 'lib/std/debug.zig')
| -rw-r--r-- | lib/std/debug.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig index 4511f6baaa..d79379e85b 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -2087,7 +2087,7 @@ pub fn ConfigurableTrace(comptime size: usize, comptime stack_frame_count: usize const tty_config = detectTTYConfig(); const stderr = io.getStdErr().writer(); - const end = @minimum(t.index, size); + const end = @min(t.index, size); const debug_info = getSelfDebugInfo() catch |err| { stderr.print( "Unable to dump stack trace: Unable to open debug info: {s}\n", |
