Make clippy happy

This commit is contained in:
A-Walrus 2023-05-15 19:43:21 +03:00
parent c2fbd8cb68
commit 131757ade6
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ impl Sweep for (Handle<Sketch>, Handle<Surface>) {
let path = path.into(); let path = path.into();
let mut shells = Vec::new(); 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); let shell = face.sweep_with_cache(path, cache, services);
shells.push(shell); shells.push(shell);
} }

View File

@ -62,7 +62,7 @@ impl Face {
/// Access the cycle that bounds the face on the outside /// Access the cycle that bounds the face on the outside
pub fn exterior(&self) -> &Handle<Cycle> { pub fn exterior(&self) -> &Handle<Cycle> {
&self.region.exterior() self.region.exterior()
} }
/// Access the cycles that bound the face on the inside /// Access the cycles that bound the face on the inside