aboutsummaryrefslogtreecommitdiff
path: root/std/math.zig
diff options
context:
space:
mode:
Diffstat (limited to 'std/math.zig')
-rw-r--r--std/math.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/math.zig b/std/math.zig
index b44a4d5def..acc9eaec73 100644
--- a/std/math.zig
+++ b/std/math.zig
@@ -12,7 +12,7 @@ pub fn max(x: var, y: var) -> @typeOf(x + y) {
if (x > y) x else y
}
-pub error Overflow;
+error Overflow;
pub fn mulOverflow(inline T: type, a: T, b: T) -> %T {
var answer: T = undefined;
if (@mulWithOverflow(T, a, b, &answer)) error.Overflow else answer