authorgravatar for 124872+jedisct1@users.noreply.github.comFrank Denis <124872+jedisct1@users.noreply.github.com> 2021-04-29 16:27:50+02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2021-04-29 16:27:50+02:00
log687ef42f988191b6da78bfafbda0d2fe888697cc
tree817ad223cee1b380b4da23aadc0c71662521ff66
parent55c58f226d06d3708a82878a67f3800e0ce5810b
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

x: comptime bool -> comptime x: bool (#8639)


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

lib/std/crypto/25519/field.zig+1-1
...@@ -292,7 +292,7 @@ pub const Fe = struct {...@@ -292,7 +292,7 @@ pub const Fe = struct {
292 return _carry128(&r);292 return _carry128(&r);
293 }293 }
294294
295 fn _sq(a: Fe, double: comptime bool) callconv(.Inline) Fe {295 fn _sq(a: Fe, comptime double: bool) callconv(.Inline) Fe {
296 var ax: [5]u128 = undefined;296 var ax: [5]u128 = undefined;
297 var r: [5]u128 = undefined;297 var r: [5]u128 = undefined;
298 comptime var i = 0;298 comptime var i = 0;
lib/std/crypto/poly1305.zig+1-1
...@@ -39,7 +39,7 @@ pub const Poly1305 = struct {...@@ -39,7 +39,7 @@ pub const Poly1305 = struct {
39 };39 };
40 }40 }
4141
42 fn blocks(st: *Poly1305, m: []const u8, last: comptime bool) void {42 fn blocks(st: *Poly1305, m: []const u8, comptime last: bool) void {
43 const hibit: u64 = if (last) 0 else 1 << 40;43 const hibit: u64 = if (last) 0 else 1 << 40;
44 const r0 = st.r[0];44 const r0 = st.r[0];
45 const r1 = st.r[1];45 const r1 = st.r[1];