mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 15:41:48 +00:00
netsurf: use idiomatic []const u8 for filename
This commit is contained in:
@@ -32,8 +32,7 @@ pub fn main() !void {
|
||||
const apis = jsruntime.compile(DOM.Interfaces);
|
||||
|
||||
// document
|
||||
var f = "test.html".*;
|
||||
doc = parser.documentHTMLParse(&f);
|
||||
doc = parser.documentHTMLParse("test.html");
|
||||
// TODO: defer doc?
|
||||
|
||||
// create JS vm
|
||||
|
||||
Reference in New Issue
Block a user