Skip to content

Commit fbe7115

Browse files
committed
don't expose DOMErr function
1 parent f54111b commit fbe7115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/netsurf.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ pub const DOMError = error{
388388

389389
const DOMException = c.dom_exception;
390390

391-
pub fn DOMErr(except: DOMException) DOMError!void {
391+
fn DOMErr(except: DOMException) DOMError!void {
392392
return switch (except) {
393393
c.DOM_NO_ERR => return,
394394
c.DOM_INDEX_SIZE_ERR => DOMError.IndexSize,

0 commit comments

Comments
 (0)