Update argument name

This commit is contained in:
Hanno Braun 2024-03-23 11:54:42 +01:00
parent 2bb189fcac
commit 155a8dfbf4

View File

@ -55,11 +55,11 @@ macro_rules! any_object {
impl AnyObject<AboutToBeStored> {
/// Insert the object into its respective store
pub fn insert(self, objects: &mut Topology) -> AnyObject<Stored> {
pub fn insert(self, topology: &mut Topology) -> AnyObject<Stored> {
match self {
$(
Self::$ty((handle, object)) => {
objects.$store.insert(
topology.$store.insert(
handle.clone().into(), object
);
handle.into()