From 007ec6cdc0e79c30482f386eb101e09ad485eed9 Mon Sep 17 00:00:00 2001 From: Chad Brokaw Date: Thu, 14 Jul 2022 15:29:43 -0400 Subject: [PATCH] cargo fmt --- piet-gpu-hal/src/mux.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/piet-gpu-hal/src/mux.rs b/piet-gpu-hal/src/mux.rs index ba38217..8038f60 100644 --- a/piet-gpu-hal/src/mux.rs +++ b/piet-gpu-hal/src/mux.rs @@ -121,9 +121,7 @@ impl Instance { /// /// When no surface is given, the instance is suitable for compute-only /// work. - pub fn new( - flags: InstanceFlags, - ) -> Result { + pub fn new(flags: InstanceFlags) -> Result { let mut backends = [BackendType::Vulkan, BackendType::Dx12]; if flags.contains(InstanceFlags::DX12) { backends.swap(0, 1);