From: Ian Jackson Date: Sun, 17 Apr 2022 17:37:54 +0000 (+0100) Subject: hidden: style: Unwrap a binding X-Git-Tag: otter-1.1.0~508 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=73e45a5c8f92b25efbce277a2ca41c1035fa07d0;p=otter.git hidden: style: Unwrap a binding Signed-off-by: Ian Jackson --- 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 {