mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
clippy: Fix dereferenced warnings (#31770)
This commit is contained in:
parent
0cf2caba06
commit
02a0cdd6fa
43 changed files with 92 additions and 96 deletions
|
@ -1039,7 +1039,7 @@ impl CanvasState {
|
|||
};
|
||||
let node = canvas.upcast::<Node>();
|
||||
let window = window_from_node(&*canvas);
|
||||
let resolved_font_style = match window.resolved_font_style_query(&node, value.to_string()) {
|
||||
let resolved_font_style = match window.resolved_font_style_query(node, value.to_string()) {
|
||||
Some(value) => value,
|
||||
None => return, // syntax error
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue