mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +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
|
@ -31,10 +31,10 @@ impl MessageChannel {
|
|||
/// <https://html.spec.whatwg.org/multipage/#dom-messagechannel>
|
||||
fn new(incumbent: &GlobalScope, proto: Option<HandleObject>) -> DomRoot<MessageChannel> {
|
||||
// Step 1
|
||||
let port1 = MessagePort::new(&incumbent);
|
||||
let port1 = MessagePort::new(incumbent);
|
||||
|
||||
// Step 2
|
||||
let port2 = MessagePort::new(&incumbent);
|
||||
let port2 = MessagePort::new(incumbent);
|
||||
|
||||
incumbent.track_message_port(&*port1, None);
|
||||
incumbent.track_message_port(&*port2, None);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue