diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2015-07-24 22:16:35 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2015-07-24 22:16:35 +0200 |
commit | a3c0366bd62bc4ac9a52b3e45bf81ba5fea4ed1a (patch) | |
tree | b57a73146ff54aa8ac718baf4cbe253c6bb6d8a9 /components/script/dom/htmloptionelement.rs | |
parent | 903a608c6aa19343bbf5487ae6144fe844184f46 (diff) | |
download | servo-a3c0366bd62bc4ac9a52b3e45bf81ba5fea4ed1a.tar.gz servo-a3c0366bd62bc4ac9a52b3e45bf81ba5fea4ed1a.zip |
Fix deprecation warnings
Diffstat (limited to 'components/script/dom/htmloptionelement.rs')
-rw-r--r-- | components/script/dom/htmloptionelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmloptionelement.rs b/components/script/dom/htmloptionelement.rs index b675f30ac03..28b7f0651ae 100644 --- a/components/script/dom/htmloptionelement.rs +++ b/components/script/dom/htmloptionelement.rs @@ -88,7 +88,7 @@ impl<'a> HTMLOptionElementMethods for &'a HTMLOptionElement { let mut content = String::new(); collect_text(&node, &mut content); let v: Vec<&str> = split_html_space_chars(&content).collect(); - v.connect(" ") + v.join(" ") } // https://www.whatwg.org/html/#dom-option-text |