From 131757ade6a522951c27cbdd731d224e1385566c Mon Sep 17 00:00:00 2001 From: A-Walrus Date: Mon, 15 May 2023 19:43:21 +0300 Subject: [PATCH] Make clippy happy --- crates/fj-kernel/src/algorithms/sweep/sketch.rs | 2 +- crates/fj-kernel/src/objects/full/face.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/fj-kernel/src/algorithms/sweep/sketch.rs b/crates/fj-kernel/src/algorithms/sweep/sketch.rs index 45f8e977e..c50b06777 100644 --- a/crates/fj-kernel/src/algorithms/sweep/sketch.rs +++ b/crates/fj-kernel/src/algorithms/sweep/sketch.rs @@ -21,7 +21,7 @@ impl Sweep for (Handle, Handle) { let path = path.into(); let mut shells = Vec::new(); - for face in self.0.faces(self.1, services).clone() { + for face in self.0.faces(self.1, services) { let shell = face.sweep_with_cache(path, cache, services); shells.push(shell); } diff --git a/crates/fj-kernel/src/objects/full/face.rs b/crates/fj-kernel/src/objects/full/face.rs index 62ec2a906..2dd26e6da 100644 --- a/crates/fj-kernel/src/objects/full/face.rs +++ b/crates/fj-kernel/src/objects/full/face.rs @@ -62,7 +62,7 @@ impl Face { /// Access the cycle that bounds the face on the outside pub fn exterior(&self) -> &Handle { - &self.region.exterior() + self.region.exterior() } /// Access the cycles that bound the face on the inside