From 0fa0b9312504be406ab7fe6dcc4715e4aad2c778 Mon Sep 17 00:00:00 2001 From: tcmal Date: Sun, 25 Aug 2024 17:44:21 +0100 Subject: chore(render): one last clippy lint --- stockton-render/src/draw/target.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stockton-render/src/draw/target.rs b/stockton-render/src/draw/target.rs index 1260c49..2fe1b6f 100644 --- a/stockton-render/src/draw/target.rs +++ b/stockton-render/src/draw/target.rs @@ -78,7 +78,7 @@ impl SwapchainProperties { .optimal_tiling .contains(ImageFeature::DEPTH_STENCIL_ATTACHMENT) }) - .ok_or_else(|| ())?; + .ok_or(())?; let present_mode = { [ -- cgit v1.2.3