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);