mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 07:31:47 +00:00
Remove all inlines
Following Zig recommendation not to inline except in specific cases, none of which I think applies to use. Also, mimalloc.create can't fail (it used to be possible, but that changed a while ago), so removed its error return.
This commit is contained in:
@@ -331,7 +331,7 @@ pub const Writer = struct {
|
||||
|
||||
const testing = @import("testing.zig");
|
||||
test "cdp Node: Registry register" {
|
||||
try parser.init();
|
||||
parser.init();
|
||||
defer parser.deinit();
|
||||
|
||||
var registry = Registry.init(testing.allocator);
|
||||
@@ -369,7 +369,7 @@ test "cdp Node: Registry register" {
|
||||
}
|
||||
|
||||
test "cdp Node: search list" {
|
||||
try parser.init();
|
||||
parser.init();
|
||||
defer parser.deinit();
|
||||
|
||||
var registry = Registry.init(testing.allocator);
|
||||
@@ -423,7 +423,7 @@ test "cdp Node: search list" {
|
||||
}
|
||||
|
||||
test "cdp Node: Writer" {
|
||||
try parser.init();
|
||||
parser.init();
|
||||
defer parser.deinit();
|
||||
|
||||
var registry = Registry.init(testing.allocator);
|
||||
|
||||
Reference in New Issue
Block a user