mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +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)
|
||||
-> ErrorResult {
|
||||
self.set_attr(abstract_self, name, value);
|
||||
Ok(())
|
||||
self.set_attr(abstract_self, name, value)
|
||||
}
|
||||
|
||||
pub fn SetAttributeNS(&mut self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue