mirror of
https://github.com/ziglang/zig.git
synced 2025-12-27 00:23:22 +00:00
x: comptime bool -> comptime x: bool (#8639)
This commit is contained in:
parent
55c58f226d
commit
687ef42f98
@ -292,7 +292,7 @@ pub const Fe = struct {
|
||||
return _carry128(&r);
|
||||
}
|
||||
|
||||
fn _sq(a: Fe, double: comptime bool) callconv(.Inline) Fe {
|
||||
fn _sq(a: Fe, comptime double: bool) callconv(.Inline) Fe {
|
||||
var ax: [5]u128 = undefined;
|
||||
var r: [5]u128 = undefined;
|
||||
comptime var i = 0;
|
||||
|
||||
@ -39,7 +39,7 @@ pub const Poly1305 = struct {
|
||||
};
|
||||
}
|
||||
|
||||
fn blocks(st: *Poly1305, m: []const u8, last: comptime bool) void {
|
||||
fn blocks(st: *Poly1305, m: []const u8, comptime last: bool) void {
|
||||
const hibit: u64 = if (last) 0 else 1 << 40;
|
||||
const r0 = st.r[0];
|
||||
const r1 = st.r[1];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user