From 5a7599210636431252905a19aae079c28202ed80 Mon Sep 17 00:00:00 2001 From: Matt Keeter Date: Mon, 26 Jan 2026 09:48:22 -0500 Subject: [PATCH] clippy exceptions for bugs --- fidget-core/src/render/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fidget-core/src/render/mod.rs b/fidget-core/src/render/mod.rs index cb77bc61..dd1738cd 100644 --- a/fidget-core/src/render/mod.rs +++ b/fidget-core/src/render/mod.rs @@ -117,7 +117,9 @@ impl RenderHandle { // Ordering is a little weird here, to persuade the borrow checker to be // happy about things. At this point, `next` is empty if we can't reuse - // it, and `Some(..)` if we can. + // it, and `Some(..)` if we can. Clippy can't quite handle this + // ordering, rust-lang/rust-clippy#16467 and #16182 + #[allow(clippy::panicking_unwrap, clippy::unnecessary_unwrap)] if self.next.is_none() { let s = shape_storage.pop().unwrap_or_default(); let next = self.shape.simplify(trace, s, workspace).unwrap();