diff --git a/core-foundation/src/base.rs b/core-foundation/src/base.rs index 9b67fa9..981e61a 100644 --- a/core-foundation/src/base.rs +++ b/core-foundation/src/base.rs @@ -159,7 +159,8 @@ pub trait TCFType { /// count. #[inline] fn into_CFType(self) -> CFType - where Self: Sized + where + Self: Sized, { let reference = self.as_CFTypeRef(); mem::forget(self); diff --git a/core-foundation/src/propertylist.rs b/core-foundation/src/propertylist.rs index 503406d..f9a87fa 100644 --- a/core-foundation/src/propertylist.rs +++ b/core-foundation/src/propertylist.rs @@ -76,7 +76,8 @@ pub trait CFPropertyListSubClass: TCFType { /// [`to_CFPropertyList`]: #method.to_CFPropertyList #[inline] fn into_CFPropertyList(self) -> CFPropertyList - where Self: Sized + where + Self: Sized, { let reference = self.as_concrete_TypeRef().as_void_ptr(); mem::forget(self); @@ -132,7 +133,8 @@ impl CFPropertyList { #[inline] pub fn into_CFType(self) -> CFType - where Self: Sized + where + Self: Sized, { let reference = self.as_CFTypeRef(); mem::forget(self);