mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +01:00
clippy: Fix several warnings (#31710)
Signed-off-by: RustAndMetal <111676747+RustAndMetal@users.noreply.github.com>
This commit is contained in:
parent
1ab8fa2895
commit
f6a975fc58
23 changed files with 75 additions and 86 deletions
2
third_party/blurmac/src/delegate.rs
vendored
2
third_party/blurmac/src/delegate.rs
vendored
|
@ -356,7 +356,7 @@ pub mod bm {
|
|||
pub fn delegate_peripherals(delegate: *mut Object) -> *mut Object {
|
||||
unsafe {
|
||||
let peripherals: *mut Object =
|
||||
*(&mut *delegate).get_ivar::<*mut Object>(DELEGATE_PERIPHERALS_IVAR);
|
||||
*(*delegate).get_ivar::<*mut Object>(DELEGATE_PERIPHERALS_IVAR);
|
||||
peripherals
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue