all: zig fmt and rename "@XToY" to "@YFromX"
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
This commit is contained in:
committed by
Andrew Kelley
parent
a6c8ee5231
commit
50339f595a
@@ -7,7 +7,7 @@ pub fn main() void {
|
||||
}
|
||||
|
||||
fn print() void {
|
||||
_ = write(1, @ptrToInt("hello\n"), 6);
|
||||
_ = write(1, @intFromPtr("hello\n"), 6);
|
||||
}
|
||||
|
||||
pub fn assert(ok: bool) void {
|
||||
|
||||
Reference in New Issue
Block a user