diff --git a/components/util/lib.rs b/components/util/lib.rs index b9c349fee6a..53391a50f84 100644 --- a/components/util/lib.rs +++ b/components/util/lib.rs @@ -80,7 +80,7 @@ pub fn breakpoint() { // Workaround for lack of `ptr_eq` on Arcs... #[inline] -pub fn arc_ptr_eq(a: &Arc, b: &Arc) -> bool { +pub fn arc_ptr_eq(a: &Arc, b: &Arc) -> bool { let a: &T = &**a; let b: &T = &**b; (a as *const T) == (b as *const T)