From 73e45a5c8f92b25efbce277a2ca41c1035fa07d0 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 17 Apr 2022 18:37:54 +0100 Subject: [PATCH] hidden: style: Unwrap a binding Signed-off-by: Ian Jackson --- src/hidden.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hidden.rs b/src/hidden.rs index 0713789a..5a0e6877 100644 --- a/src/hidden.rs +++ b/src/hidden.rs @@ -705,8 +705,7 @@ fn recalculate_occultation_general< if let Some(size) = want!( Ok = bbox.br() - bbox.tl(), ?(bbox) ); then { occ.ppiece_use_size = size; } }; - let notch = occ.notches - .insert(zg, piece); + let notch = occ.notches.insert(zg, piece); Some(Passive { occid, notch }) } else { -- 2.30.2