Revert "zig fmt: additionally auto-fix @byteSwap (#16462)"
This reverts commit f31e114f63.
This commit was incorrect; `@byteSwap` was not modified during the
0.11.0 release cycle.
This commit is contained in:
@@ -1398,7 +1398,6 @@ fn renderBuiltinCall(
|
||||
"@floatCast",
|
||||
"@intCast",
|
||||
"@ptrCast",
|
||||
|
||||
"@intFromFloat",
|
||||
"@floatToInt",
|
||||
"@enumFromInt",
|
||||
@@ -1407,9 +1406,7 @@ fn renderBuiltinCall(
|
||||
"@intToFloat",
|
||||
"@ptrFromInt",
|
||||
"@intToPtr",
|
||||
|
||||
"@truncate",
|
||||
"@byteSwap",
|
||||
}) |name| {
|
||||
if (mem.eql(u8, slice, name)) break true;
|
||||
} else false;
|
||||
|
||||
Reference in New Issue
Block a user