From 886cfeacb5069510028e6bc1464e1b67da512932 Mon Sep 17 00:00:00 2001 From: IntegratedQuantum <43880493+IntegratedQuantum@users.noreply.github.com> Date: Thu, 20 Oct 2022 00:26:12 +0200 Subject: [PATCH] Replace @minimum and @maximum with @min and @max. (#713) --- src/data/master.zig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/data/master.zig b/src/data/master.zig index 2c49e08..917d3fe 100644 --- a/src/data/master.zig +++ b/src/data/master.zig @@ -940,9 +940,9 @@ pub const builtins = [_]Builtin{ }, }, .{ - .name = "@maximum", - .signature = "@maximum(a: T, b: T) T", - .snippet = "@maximum(${1:a: T}, ${2:b: T})", + .name = "@max", + .signature = "@max(a: T, b: T) T", + .snippet = "@max(${1:a: T}, ${2:b: T})", .documentation = \\Returns the maximum value of `a` and `b`. This builtin accepts integers, floats, and vectors of either. In the latter case, the operation is performed element wise. \\ @@ -1010,9 +1010,9 @@ pub const builtins = [_]Builtin{ }, }, .{ - .name = "@minimum", - .signature = "@minimum(a: T, b: T) T", - .snippet = "@minimum(${1:a: T}, ${2:b: T})", + .name = "@min", + .signature = "@min(a: T, b: T) T", + .snippet = "@min(${1:a: T}, ${2:b: T})", .documentation = \\Returns the minimum value of `a` and `b`. This builtin accepts integers, floats, and vectors of either. In the latter case, the operation is performed element wise. \\