mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-16 08:18:59 +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 {
|
fn serveCDP(address: std.net.Address) !void {
|
||||||
const App = @import("app.zig").App;
|
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();
|
defer app.deinit();
|
||||||
|
|
||||||
const server = @import("server.zig");
|
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
|
// dummy opts incase we want to add something, and not have to break all the callers
|
||||||
pub fn app(_: anytype) *App {
|
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 {
|
pub const Random = struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user