mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Remove needless code.
This `OK(())` should be propagated from `Element.set_attribute()`.
This commit is contained in:
parent
943ab4a4f0
commit
617a95ff5b
1 changed files with 1 additions and 2 deletions
|
@ -321,8 +321,7 @@ impl Element {
|
||||||
|
|
||||||
pub fn SetAttribute(&mut self, abstract_self: AbstractNode, name: DOMString, value: DOMString)
|
pub fn SetAttribute(&mut self, abstract_self: AbstractNode, name: DOMString, value: DOMString)
|
||||||
-> ErrorResult {
|
-> ErrorResult {
|
||||||
self.set_attr(abstract_self, name, value);
|
self.set_attr(abstract_self, name, value)
|
||||||
Ok(())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn SetAttributeNS(&mut self,
|
pub fn SetAttributeNS(&mut self,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue