aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/attr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/attr.rs')
-rw-r--r--src/components/script/dom/attr.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/attr.rs b/src/components/script/dom/attr.rs
index e11c47ee8a6..5ff34888015 100644
--- a/src/components/script/dom/attr.rs
+++ b/src/components/script/dom/attr.rs
@@ -66,8 +66,8 @@ impl Attr {
self.value.clone()
}
- pub fn SetValue(&mut self, value: &DOMString) {
- self.value = value.clone();
+ pub fn SetValue(&mut self, value: DOMString) {
+ self.value = value;
}
pub fn Name(&self) -> DOMString {