mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clippy: Fix dereferenced warnings (#31770)
This commit is contained in:
parent
0cf2caba06
commit
02a0cdd6fa
43 changed files with 92 additions and 96 deletions
|
@ -308,7 +308,7 @@ impl HTMLLinkElement {
|
|||
None => "",
|
||||
};
|
||||
|
||||
let mut input = ParserInput::new(&mq_str);
|
||||
let mut input = ParserInput::new(mq_str);
|
||||
let mut css_parser = CssParser::new(&mut input);
|
||||
let document_url_data = &UrlExtraData(document.url().get_arc());
|
||||
let window = document.window();
|
||||
|
@ -317,7 +317,7 @@ impl HTMLLinkElement {
|
|||
// much sense.
|
||||
let context = CssParserContext::new(
|
||||
Origin::Author,
|
||||
&document_url_data,
|
||||
document_url_data,
|
||||
Some(CssRuleType::Media),
|
||||
ParsingMode::DEFAULT,
|
||||
document.quirks_mode(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue