mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Forbid uses of unwrap() in the code (#7795)
This commit is contained in:
@@ -1403,6 +1403,7 @@ impl Tessellator {
|
||||
});
|
||||
}
|
||||
|
||||
#[expect(clippy::unwrap_used)] // it's never empty
|
||||
let out = out_primitives.last_mut().unwrap();
|
||||
|
||||
if let Primitive::Mesh(out_mesh) = &mut out.primitive {
|
||||
|
||||
Reference in New Issue
Block a user