aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-09-13 13:01:42 -0400
committerGitHub <noreply@github.com>2022-09-13 13:01:42 -0400
commitc25ce5bba0d00283ad4de9077dba5a8d5255b619 (patch)
treecc4bdb8332acdde7b23bffacfc42bffaa6d35273 /lib/std/math.zig
parentbe944870298e4694e8ccb3f8c65a0bd152e26dad (diff)
parentb2e94de3585e0a1242e3a5d6c8fd331da9f2d4f5 (diff)
downloadzig-c25ce5bba0d00283ad4de9077dba5a8d5255b619.tar.gz
zig-c25ce5bba0d00283ad4de9077dba5a8d5255b619.zip
Merge pull request #12820 from ziglang/pointless-discard-error
introduce compile error for pointless discards
Diffstat (limited to 'lib/std/math.zig')
-rw-r--r--lib/std/math.zig1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/std/math.zig b/lib/std/math.zig
index d1c9326ae2..f519979349 100644
--- a/lib/std/math.zig
+++ b/lib/std/math.zig
@@ -171,7 +171,6 @@ pub fn approxEqRel(comptime T: type, x: T, y: T, tolerance: T) bool {
}
pub fn approxEq(comptime T: type, x: T, y: T, tolerance: T) bool {
- _ = T;
_ = x;
_ = y;
_ = tolerance;