Update the coding style for Zig (#336)

* Update the coding style for Zig

* Update array.rs
This commit is contained in:
sjinzh
2023-02-06 01:14:03 +08:00
committed by GitHub
parent cb73007495
commit 063501068b
26 changed files with 40 additions and 61 deletions

View File

@@ -39,8 +39,8 @@ pub fn main() !void {
std.debug.print("\n队列长度 size = {}", .{size});
// 判断队列是否为空
var empty = if (queue.len == 0) true else false;
std.debug.print("\n队列是否为空 = {}", .{empty});
var is_empty = if (queue.len == 0) true else false;
std.debug.print("\n队列是否为空 = {}", .{is_empty});
_ = try std.io.getStdIn().reader().readByte();
}