mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 22:53:28 +00:00
zig fmt :|
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user