aboutsummaryrefslogtreecommitdiff
path: root/std/fmt/parse_float.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-06-09 19:44:01 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-06-09 19:44:01 -0400
commit3a4b749c8a1124734c3202ec0d6f4f6566e7dc7e (patch)
treed02ca4c7ff46abf748fa175a68d13eccebb97a92 /std/fmt/parse_float.zig
parent59fe13772f63838a84ac1786c0dc8361cd14b99d (diff)
parentb735764898412c5b9388fdf729c8ad8db43ddde5 (diff)
downloadzig-3a4b749c8a1124734c3202ec0d6f4f6566e7dc7e.tar.gz
zig-3a4b749c8a1124734c3202ec0d6f4f6566e7dc7e.zip
Merge remote-tracking branch 'origin/master' into copy-elision-3
Diffstat (limited to 'std/fmt/parse_float.zig')
-rw-r--r--std/fmt/parse_float.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/fmt/parse_float.zig b/std/fmt/parse_float.zig
index 51f3f2f0cb..ce2cc70768 100644
--- a/std/fmt/parse_float.zig
+++ b/std/fmt/parse_float.zig
@@ -390,7 +390,7 @@ test "fmt.parseFloat" {
const approxEq = std.math.approxEq;
const epsilon = 1e-7;
- inline for ([]type{ f16, f32, f64, f128 }) |T| {
+ inline for ([_]type{ f16, f32, f64, f128 }) |T| {
const Z = @IntType(false, T.bit_count);
testing.expectError(error.InvalidCharacter, parseFloat(T, ""));