From c071ba787477fdfe9821cb6547073d092cc82580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20F=C3=A4rnstrand?= Date: Sun, 21 Jan 2018 16:18:01 +0100 Subject: [PATCH] Clean up my own non-rustfmt style --- core-foundation/src/base.rs | 3 ++- core-foundation/src/propertylist.rs | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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);