aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-12-09 10:51:47 -0500
committerGitHub <noreply@github.com>2019-12-09 10:51:47 -0500
commit640e09183d3100c477a26c6cdc26f1eae31472a1 (patch)
tree0bddf7eb99d6daaaa2e5ee80b51a6766aefb7d9c /lib/std/math
parent5874cb04bd544ca155d1489bb0bdf9397fa3b41c (diff)
parent8b3c0bbeeef080b77d0cb7999682abc52de437e3 (diff)
downloadzig-640e09183d3100c477a26c6cdc26f1eae31472a1.tar.gz
zig-640e09183d3100c477a26c6cdc26f1eae31472a1.zip
Merge pull request #3873 from ziglang/format-no-var-args
std.fmt.format: tuple parameter instead of var args
Diffstat (limited to 'lib/std/math')
-rw-r--r--lib/std/math/big/int.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/math/big/int.zig b/lib/std/math/big/int.zig
index 5c84dc462b..0d0b186332 100644
--- a/lib/std/math/big/int.zig
+++ b/lib/std/math/big/int.zig
@@ -180,9 +180,9 @@ pub const Int = struct {
pub fn dump(self: Int) void {
for (self.limbs) |limb| {
- debug.warn("{x} ", limb);
+ debug.warn("{x} ", .{limb});
}
- debug.warn("\n");
+ debug.warn("\n", .{});
}
/// Negate the sign of an Int.