dom: remove useless Exception decl

This commit is contained in:
Pierre Tachoire
2023-12-05 09:15:54 +01:00
parent ad5c6236a7
commit e1e4b13be9
2 changed files with 0 additions and 4 deletions

View File

@@ -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;
};

View File

@@ -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);
}