From a17e400b2bbfa32add957ad55fb78c4c2dba2074 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 28 Jun 2022 17:40:55 +0200 Subject: [PATCH] Inline method call --- crates/fj-kernel/src/objects/face.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/crates/fj-kernel/src/objects/face.rs b/crates/fj-kernel/src/objects/face.rs index 55f90387e..1a3834e53 100644 --- a/crates/fj-kernel/src/objects/face.rs +++ b/crates/fj-kernel/src/objects/face.rs @@ -211,12 +211,7 @@ impl CyclesInFace { /// Access an iterator over the canonical forms of the cycles pub fn as_canonical(&self) -> impl Iterator> + '_ { - self.as_handle().map(|cycle| cycle.get()) - } - - /// Access an iterator over handles to the cycles - pub fn as_handle(&self) -> impl Iterator>> + '_ { - self.0.iter().map(|cycle| cycle.canonical()) + self.0.iter().map(|cycle| cycle.canonical().get()) } /// Access an iterator over local forms of the cycles