authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-04-28 15:15:44-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-04-28 15:15:44-07:00
logc90e52b74cd8f1fda78d786d38f2b8154374ce1c
tree9672851a903e57496e70d3e44e25e1c239f04b87
parentd3ffacb55caf18442422d7b28e1b5f16143f63ed

std: remove redundant `comptime const`


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/crypto/utils.zig+1-1
......@@ -50,7 +50,7 @@ pub fn timingSafeCompare(comptime T: type, a: []const T, b: []const T, endian: E
5050 .Int => |cinfo| if (cinfo.signedness != .unsigned) @compileError("Elements to be compared must be unsigned") else cinfo.bits,
5151 else => @compileError("Elements to be compared must be integers"),
5252 };
53 comptime const Cext = std.meta.Int(.unsigned, bits + 1);
53 const Cext = std.meta.Int(.unsigned, bits + 1);
5454 var gt: T = 0;
5555 var eq: T = 1;
5656 if (endian == .Little) {