gpui_wgpu: Remove redundant match arms for backend priority (#56032)

Xiaobo Liu created

Release Notes:

- N/A

Change summary

crates/gpui_wgpu/src/wgpu_context.rs | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

Detailed changes

crates/gpui_wgpu/src/wgpu_context.rs 🔗

@@ -278,9 +278,7 @@ impl WgpuContext {
             };
 
             let backend_priority: u8 = match info.backend {
-                wgpu::Backend::Vulkan => 0,
-                wgpu::Backend::Metal => 0,
-                wgpu::Backend::Dx12 => 0,
+                wgpu::Backend::Vulkan | wgpu::Backend::Metal | wgpu::Backend::Dx12 => 0,
                 _ => 1,
             };