mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Cleanup NodeIterator, Range, ServoHTMLParser, TextEncoder, URLHelper, URL, VirtualMethods
This commit is contained in:
parent
a53b86f107
commit
19241c95f7
13 changed files with 24 additions and 53 deletions
|
@ -142,7 +142,7 @@ impl<'a> URLMethods for &'a URL {
|
|||
}
|
||||
}
|
||||
|
||||
fn parser_with_base<'a>(base: Option<&'a Url>) -> UrlParser<'a> {
|
||||
fn parser_with_base(base: Option<&Url>) -> UrlParser {
|
||||
let mut parser = UrlParser::new();
|
||||
if let Some(base) = base {
|
||||
parser.base_url(base);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue