mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
clippy: fix some warnings in components/script (#31865)
This commit is contained in:
parent
58f170c97a
commit
188f3caff1
10 changed files with 16 additions and 16 deletions
|
@ -150,7 +150,7 @@ impl AudioBuffer {
|
|||
}
|
||||
|
||||
fn restore_js_channel_data(&self, cx: JSContext) -> bool {
|
||||
let _ac = enter_realm(&*self);
|
||||
let _ac = enter_realm(self);
|
||||
for (i, channel) in self.js_channels.borrow_mut().iter().enumerate() {
|
||||
if channel.is_initialized() {
|
||||
// Already have data in JS array.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue