mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-28 15:40:04 +00:00
zig fmt
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user