diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-03-01 20:04:28 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-03-01 20:04:28 -0700 |
| commit | a20169a610b693794756bbc0139f0955c1294b48 (patch) | |
| tree | 5b1e42aba9760bf8b3355cf4014a9d15f59e5a6e /lib/std/math.zig | |
| parent | 7613e51a57d2e2d0ae7d1101d059002f12b96c43 (diff) | |
| download | zig-a20169a610b693794756bbc0139f0955c1294b48.tar.gz zig-a20169a610b693794756bbc0139f0955c1294b48.zip | |
zig fmt the std lib
Diffstat (limited to 'lib/std/math.zig')
| -rw-r--r-- | lib/std/math.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/math.zig b/lib/std/math.zig index 940284b763..d71cafe5ef 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 inline fn boolMask(comptime MaskInt: type, value: bool) MaskInt { +pub fn boolMask(comptime MaskInt: type, value: bool) callconv(.Inline) MaskInt { if (@typeInfo(MaskInt) != .Int) @compileError("boolMask requires an integer mask type."); |
