mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Fix deprecation warnings
This commit is contained in:
parent
903a608c6a
commit
a3c0366bd6
7 changed files with 15 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue