mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-09-26 14:35:36 -04:00
dom: remove useless Exception decl
This commit is contained in:
2 files changed
-4
No files matched your search
@@ -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;
|
||||
};
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user