From e1e4b13be9aa1253d0f7c4fec1acf87f84fa93eb Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Tue, 5 Dec 2023 09:15:54 +0100 Subject: [PATCH] dom: remove useless Exception decl --- src/dom/attribute.zig | 2 -- src/dom/element.zig | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/dom/attribute.zig b/src/dom/attribute.zig index 78563920..758a71fb 100644 --- a/src/dom/attribute.zig +++ b/src/dom/attribute.zig @@ -10,6 +10,4 @@ pub const Attr = struct { pub const Self = parser.Attribute; pub const prototype = *Node; pub const mem_guarantied = true; - - pub const Exception = DOMException; }; diff --git a/src/dom/element.zig b/src/dom/element.zig index 13678947..e7380e3d 100644 --- a/src/dom/element.zig +++ b/src/dom/element.zig @@ -18,8 +18,6 @@ pub const Element = struct { pub const prototype = *Node; pub const mem_guarantied = true; - pub const Exception = DOMException; - pub fn toInterface(e: *parser.Element) !Union { return try HTMLElem.toInterface(Union, e); }