fmt: add rewrite from @fabs to @abs

This commit is contained in:
antlilja
2023-08-11 23:20:40 +02:00
committed by Andrew Kelley
parent c62bf068e5
commit 8191199951

View File

@@ -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
}