From 2ecc48388dfec7a303a370cf786f904d319c1a13 Mon Sep 17 00:00:00 2001 From: Maik Klein Date: Mon, 4 Mar 2019 09:59:54 +0100 Subject: [PATCH] Reformat experimental amd --- ash/src/extensions/experimental/amd.rs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/ash/src/extensions/experimental/amd.rs b/ash/src/extensions/experimental/amd.rs index 08f0f8d..f37f6de 100644 --- a/ash/src/extensions/experimental/amd.rs +++ b/ash/src/extensions/experimental/amd.rs @@ -208,10 +208,8 @@ pub struct PhysicalDeviceGpaPropertiesAmdBuilder<'a> { inner: PhysicalDeviceGpaPropertiesAmd, marker: ::std::marker::PhantomData<&'a ()>, } -pub unsafe trait ExtendsPhysicalDeviceGpaPropertiesAmd { -} -unsafe impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceGpaPropertiesAmd { -} +pub unsafe trait ExtendsPhysicalDeviceGpaPropertiesAmd {} +unsafe impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceGpaPropertiesAmd {} impl<'a> ::std::ops::Deref for PhysicalDeviceGpaPropertiesAmdBuilder<'a> { type Target = PhysicalDeviceGpaPropertiesAmd; fn deref(&self) -> &Self::Target { @@ -650,10 +648,8 @@ pub struct PhysicalDeviceWaveLimitPropertiesAmdBuilder<'a> { inner: PhysicalDeviceWaveLimitPropertiesAmd, marker: ::std::marker::PhantomData<&'a ()>, } -pub unsafe trait ExtendsPhysicalDeviceWaveLimitPropertiesAmd { -} -unsafe impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceWaveLimitPropertiesAmd { -} +pub unsafe trait ExtendsPhysicalDeviceWaveLimitPropertiesAmd {} +unsafe impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceWaveLimitPropertiesAmd {} impl<'a> ::std::ops::Deref for PhysicalDeviceWaveLimitPropertiesAmdBuilder<'a> { type Target = PhysicalDeviceWaveLimitPropertiesAmd; fn deref(&self) -> &Self::Target {