aboutsummaryrefslogtreecommitdiff
path: root/std/fmt/parse_float.zig
diff options
context:
space:
mode:
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, ""));