zig fmt :|

This commit is contained in:
Karl Seguin
2025-03-27 18:15:27 +08:00
parent c6538e1038
commit fba9cb071d
2 changed files with 2 additions and 2 deletions

View File

@@ -213,7 +213,7 @@ fn serveHTTPS(address: std.net.Address) !void {
fn serveCDP(address: std.net.Address) !void {
const App = @import("app.zig").App;
var app = try App.init(gpa.allocator(), .{.run_mode = .serve});
var app = try App.init(gpa.allocator(), .{ .run_mode = .serve });
defer app.deinit();
const server = @import("server.zig");

View File

@@ -157,7 +157,7 @@ pub fn print(comptime fmt: []const u8, args: anytype) void {
// dummy opts incase we want to add something, and not have to break all the callers
pub fn app(_: anytype) *App {
return App.init(allocator, .{.run_mode = .serve}) catch unreachable;
return App.init(allocator, .{ .run_mode = .serve }) catch unreachable;
}
pub const Random = struct {