diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-08-28 01:05:07 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2015-08-30 15:30:01 +0200 |
commit | 51418fc348f683e9a3f96747865a0400e26240fe (patch) | |
tree | 3776b932324c0d5036d645204a9c171c5bc02142 /components/script/dom/htmlformelement.rs | |
parent | 105d99084508f72e7ff61a499df5d340e3752f14 (diff) | |
download | servo-51418fc348f683e9a3f96747865a0400e26240fe.tar.gz servo-51418fc348f683e9a3f96747865a0400e26240fe.zip |
Replace many uses of Attr::Value() by Attr::value()
The later only borrows the attribute, without copying its value as a string.
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
-rw-r--r-- | components/script/dom/htmlformelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs index 11613d866b2..bc42d5fa64f 100644 --- a/components/script/dom/htmlformelement.rs +++ b/components/script/dom/htmlformelement.rs @@ -314,7 +314,7 @@ impl HTMLFormElement { _ => Some(FormDatum { ty: ty, name: name, - value: input.Value() + value: value }) } } |