aboutsummaryrefslogtreecommitdiff
path: root/stockton-render/src/draw/target.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:21 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:21 +0100
commit0fa0b9312504be406ab7fe6dcc4715e4aad2c778 (patch)
treea717c8575db94aee0627f49dcf66b57dce02dee1 /stockton-render/src/draw/target.rs
parent9d720593e9f4829e2bb81534ef54545a61b3df00 (diff)
chore(render): one last clippy lint
Diffstat (limited to 'stockton-render/src/draw/target.rs')
-rw-r--r--stockton-render/src/draw/target.rs2
1 files changed, 1 insertions, 1 deletions
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 = {
[