Run zig fmt on src/ and lib/std/

This replaces callconv(.Inline) with the more idiomatic inline keyword.
This commit is contained in:
Isaac Freund
2021-05-20 17:07:06 +02:00
parent 4a582734fd
commit 5b850d5c92
41 changed files with 244 additions and 306 deletions

View File

@@ -68,7 +68,7 @@ else switch (std.Target.current.os.tag) {
};
/// Signals the processor that it is inside a busy-wait spin-loop ("spin lock").
pub fn spinLoopHint() callconv(.Inline) void {
pub inline fn spinLoopHint() void {
switch (std.Target.current.cpu.arch) {
.i386, .x86_64 => {
asm volatile ("pause" ::: "memory");