diff options
Diffstat (limited to 'components/style/lib.rs')
-rw-r--r-- | components/style/lib.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/components/style/lib.rs b/components/style/lib.rs index e2ed31d1467..41d9815bff8 100644 --- a/components/style/lib.rs +++ b/components/style/lib.rs @@ -186,14 +186,6 @@ macro_rules! reexport_computed_values { } longhand_properties_idents!(reexport_computed_values); -/// Pointer equality -/// -/// FIXME: Remove this and use std::ptr::eq once we require Rust 1.17 -#[inline] -pub fn ptr_eq<T: ?Sized>(a: *const T, b: *const T) -> bool { - a == b -} - /// Serializes as CSS a comma-separated list of any `T` that supports being /// serialized as CSS. pub fn serialize_comma_separated_list<W, T>(dest: &mut W, |