mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
zig fmt: additionally auto-fix @byteSwap (#16462)
This commit is contained in:
parent
d962ad5ea0
commit
f31e114f63
@ -1398,6 +1398,7 @@ fn renderBuiltinCall(
|
||||
"@floatCast",
|
||||
"@intCast",
|
||||
"@ptrCast",
|
||||
|
||||
"@intFromFloat",
|
||||
"@floatToInt",
|
||||
"@enumFromInt",
|
||||
@ -1406,7 +1407,9 @@ fn renderBuiltinCall(
|
||||
"@intToFloat",
|
||||
"@ptrFromInt",
|
||||
"@intToPtr",
|
||||
|
||||
"@truncate",
|
||||
"@byteSwap",
|
||||
}) |name| {
|
||||
if (mem.eql(u8, slice, name)) break true;
|
||||
} else false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user