aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math.zig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/math.zig')
-rw-r--r--lib/std/math.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/math.zig b/lib/std/math.zig
index 6606a55034..4605c46970 100644
--- a/lib/std/math.zig
+++ b/lib/std/math.zig
@@ -1334,7 +1334,7 @@ test "math.comptime" {
/// Returns a mask of all ones if value is true,
/// and a mask of all zeroes if value is false.
/// Compiles to one instruction for register sized integers.
-pub fn boolMask(comptime MaskInt: type, value: bool) callconv(.Inline) MaskInt {
+pub inline fn boolMask(comptime MaskInt: type, value: bool) MaskInt {
if (@typeInfo(MaskInt) != .Int)
@compileError("boolMask requires an integer mask type.");