mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 04:34:44 +00:00
zig fmt
This commit is contained in:
@@ -30,7 +30,7 @@ _family: []const u8,
|
||||
pub fn init(family: []const u8, source: []const u8, page: *Page) !*FontFace {
|
||||
_ = source;
|
||||
|
||||
const arena = try page.getArena(.{.debug = "FontFace"});
|
||||
const arena = try page.getArena(.{ .debug = "FontFace" });
|
||||
errdefer page.releaseArena(arena);
|
||||
|
||||
const self = try arena.create(FontFace);
|
||||
|
||||
@@ -28,7 +28,7 @@ const FontFaceSet = @This();
|
||||
_arena: Allocator,
|
||||
|
||||
pub fn init(page: *Page) !*FontFaceSet {
|
||||
const arena = try page.getArena(.{.debug = "FontFaceSet"});
|
||||
const arena = try page.getArena(.{ .debug = "FontFaceSet" });
|
||||
errdefer page.releaseArena(arena);
|
||||
|
||||
const self = try arena.create(FontFaceSet);
|
||||
|
||||
Reference in New Issue
Block a user