From c90e52b74cd8f1fda78d786d38f2b8154374ce1c Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 28 Apr 2021 15:15:44 -0700 Subject: [PATCH] std: remove redundant `comptime const` --- lib/std/crypto/utils.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/crypto/utils.zig b/lib/std/crypto/utils.zig index d20c0d3ff7..7e4ae69490 100644 --- a/lib/std/crypto/utils.zig +++ b/lib/std/crypto/utils.zig @@ -50,7 +50,7 @@ pub fn timingSafeCompare(comptime T: type, a: []const T, b: []const T, endian: E .Int => |cinfo| if (cinfo.signedness != .unsigned) @compileError("Elements to be compared must be unsigned") else cinfo.bits, else => @compileError("Elements to be compared must be integers"), }; - comptime const Cext = std.meta.Int(.unsigned, bits + 1); + const Cext = std.meta.Int(.unsigned, bits + 1); var gt: T = 0; var eq: T = 1; if (endian == .Little) {