mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clippy: Fix dereferencing a tuple pattern warnings (#31811)
This commit is contained in:
parent
b22281d94f
commit
694e86ecff
14 changed files with 29 additions and 37 deletions
|
@ -107,7 +107,7 @@ impl OffscreenCanvas {
|
|||
}
|
||||
|
||||
let data = match self.context.borrow().as_ref() {
|
||||
Some(&OffscreenCanvasContext::OffscreenContext2d(ref context)) => {
|
||||
Some(OffscreenCanvasContext::OffscreenContext2d(context)) => {
|
||||
let (sender, receiver) =
|
||||
ipc::channel(self.global().time_profiler_chan().clone()).unwrap();
|
||||
let msg = CanvasMsg::FromScript(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue