mirror of
https://github.com/ziglang/zig.git
synced 2026-02-17 14:59:14 +00:00
fmt: add rewrite from @fabs to @abs
This commit is contained in:
parent
c62bf068e5
commit
8191199951
@ -1503,6 +1503,8 @@ fn renderBuiltinCall(
|
||||
try ais.writer().writeAll("@ptrFromInt");
|
||||
} else if (mem.eql(u8, slice, "@ptrToInt")) {
|
||||
try ais.writer().writeAll("@intFromPtr");
|
||||
} else if (mem.eql(u8, slice, "@fabs")) {
|
||||
try ais.writer().writeAll("@abs");
|
||||
} else {
|
||||
try renderToken(ais, tree, builtin_token, .none); // @name
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user