aboutsummaryrefslogtreecommitdiffstats
path: root/third_party/blurmac
diff options
context:
space:
mode:
authorRustAndMetal <111676747+RustAndMetal@users.noreply.github.com>2024-03-18 09:33:43 +0100
committerGitHub <noreply@github.com>2024-03-18 08:33:43 +0000
commitf6a975fc58557b6267ead065a6025ba83ae27474 (patch)
treea148c1703a652d13cabb61fbb883c4045fcef853 /third_party/blurmac
parent1ab8fa2895bd2339981e0be52591f38ad834ed21 (diff)
downloadservo-f6a975fc58557b6267ead065a6025ba83ae27474.tar.gz
servo-f6a975fc58557b6267ead065a6025ba83ae27474.zip
clippy: Fix several warnings (#31710)
Signed-off-by: RustAndMetal <111676747+RustAndMetal@users.noreply.github.com>
Diffstat (limited to 'third_party/blurmac')
-rw-r--r--third_party/blurmac/src/delegate.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/blurmac/src/delegate.rs b/third_party/blurmac/src/delegate.rs
index 3be0a982b5f..6ba36d1c846 100644
--- a/third_party/blurmac/src/delegate.rs
+++ b/third_party/blurmac/src/delegate.rs
@@ -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
}
}