dom: remove useless Exception decl

This commit is contained in:
Pierre Tachoire committed 2023-12-05 09:15:54 +01:00
1 parent ad5c6236a7
commit e1e4b13be9
2 files changed
-4

No files matched your search

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