From 6f8944cd8a1c358d851e992bddd93b5cb9917195 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 28 Jun 2022 15:58:24 +0200 Subject: [PATCH] Update variable name --- crates/fj-operations/src/sweep.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/fj-operations/src/sweep.rs b/crates/fj-operations/src/sweep.rs index 268e7c325..d87bfd230 100644 --- a/crates/fj-operations/src/sweep.rs +++ b/crates/fj-operations/src/sweep.rs @@ -15,11 +15,11 @@ impl ToShape for fj::Sweep { tolerance: Tolerance, debug_info: &mut DebugInfo, ) -> Result>, ValidationError> { - let shape = self.shape().to_shape(config, tolerance, debug_info)?; + let sketch = self.shape().to_shape(config, tolerance, debug_info)?; let path = Vector::from(self.path()); let color = self.shape().color(); - let swept = sweep(shape.into_inner(), path, tolerance, color); + let swept = sweep(sketch.into_inner(), path, tolerance, color); validate(swept, config) }