From ad54437ca3d7e68bed88280d5c7012fad723b207 Mon Sep 17 00:00:00 2001 From: Karl Seguin Date: Sat, 28 Mar 2026 21:43:46 +0800 Subject: [PATCH] zig fmt --- src/browser/webapi/Document.zig | 2 +- src/lightpanda.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/webapi/Document.zig b/src/browser/webapi/Document.zig index 1891ae96..764e3be4 100644 --- a/src/browser/webapi/Document.zig +++ b/src/browser/webapi/Document.zig @@ -61,7 +61,7 @@ _fonts: ?*FontFaceSet = null, _write_insertion_point: ?*Node = null, _script_created_parser: ?Parser.Streaming = null, _adopted_style_sheets: ?js.Object.Global = null, -_selection: Selection = .{._rc = .init(1)}, +_selection: Selection = .{ ._rc = .init(1) }, // https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#throw-on-dynamic-markup-insertion-counter // Incremented during custom element reactions when parsing. When > 0, diff --git a/src/lightpanda.zig b/src/lightpanda.zig index 9d163de4..36213624 100644 --- a/src/lightpanda.zig +++ b/src/lightpanda.zig @@ -215,7 +215,7 @@ pub fn RC(comptime T: type) type { _refs: T = 0, pub fn init(refs: T) @This() { - return .{._refs = refs}; + return .{ ._refs = refs }; } pub fn acquire(self: *@This()) void {