mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
clippy: Fix needless borrow warnings (#31813)
This commit is contained in:
parent
694e86ecff
commit
3e63f8d6ee
42 changed files with 151 additions and 157 deletions
|
@ -58,7 +58,7 @@ impl AudioBufferSourceNode {
|
|||
)?;
|
||||
let node_id = source_node.node().node_id();
|
||||
let playback_rate = AudioParam::new(
|
||||
&window,
|
||||
window,
|
||||
context,
|
||||
node_id,
|
||||
AudioNodeType::AudioBufferSourceNode,
|
||||
|
@ -69,7 +69,7 @@ impl AudioBufferSourceNode {
|
|||
f32::MAX,
|
||||
);
|
||||
let detune = AudioParam::new(
|
||||
&window,
|
||||
window,
|
||||
context,
|
||||
node_id,
|
||||
AudioNodeType::AudioBufferSourceNode,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue