Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion fidget-core/src/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ impl<F: Function, T> RenderHandle<F, T> {

// 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();
Expand Down
Loading