From 155a8dfbf46f880b5dbdd80149e3a6d2913973bb Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Sat, 23 Mar 2024 11:54:42 +0100 Subject: [PATCH] Update argument name --- crates/fj-core/src/topology/any_object.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/fj-core/src/topology/any_object.rs b/crates/fj-core/src/topology/any_object.rs index 2aac2ad55..e6840c001 100644 --- a/crates/fj-core/src/topology/any_object.rs +++ b/crates/fj-core/src/topology/any_object.rs @@ -55,11 +55,11 @@ macro_rules! any_object { impl AnyObject { /// Insert the object into its respective store - pub fn insert(self, objects: &mut Topology) -> AnyObject { + pub fn insert(self, topology: &mut Topology) -> AnyObject { match self { $( Self::$ty((handle, object)) => { - objects.$store.insert( + topology.$store.insert( handle.clone().into(), object ); handle.into()