From 5059eff026fd52713c94e1a640da04363dbf674a Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Fri, 10 Jan 2025 19:46:10 +0100 Subject: [PATCH] Update name of variable --- experiments/2024-12-09/src/geometry/shape.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/experiments/2024-12-09/src/geometry/shape.rs b/experiments/2024-12-09/src/geometry/shape.rs index b7f85b969..b04ffc2e3 100644 --- a/experiments/2024-12-09/src/geometry/shape.rs +++ b/experiments/2024-12-09/src/geometry/shape.rs @@ -107,17 +107,17 @@ impl<'r, NewOps, T> ShapeExtender<'r, NewOps, T> { NewOps: CombinRight>, T: Operation + 'static, { - let vertex = self.store.insert(op.into()); + let op = self.store.insert(op.into()); self.sequence.push(OperationInSequence { - operation: vertex.to_any(), + operation: op.to_any(), previous: self.sequence.last().map(|op| AnyOp::new(op.clone())), }); ShapeExtender { store: self.store, sequence: self.sequence, - new_ops: self.new_ops.push_right(vertex), + new_ops: self.new_ops.push_right(op), } }