From 3818195f316bbf9bb2be66641e9755f45fd05b77 Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Wed, 25 Sep 2019 18:19:54 -0700 Subject: [PATCH] Make rbx_reflection reference cleaner --- src/remodel_api/instance.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/remodel_api/instance.rs b/src/remodel_api/instance.rs index c06bee8..e62202b 100644 --- a/src/remodel_api/instance.rs +++ b/src/remodel_api/instance.rs @@ -4,6 +4,7 @@ use std::{ }; use rbx_dom_weak::{RbxId, RbxInstanceProperties, RbxTree}; +use rbx_reflection::get_class_descriptor; use rlua::{Context, FromLua, MetaMethod, ToLua, UserData, UserDataMethods}; #[derive(Clone)] @@ -124,7 +125,7 @@ impl LuaInstance { )); } - match rbx_reflection::get_class_descriptor(service_name) { + match get_class_descriptor(service_name) { // We should only find services, even if there's a child of // DataModel with a matching ClassName. Some(descriptor) if descriptor.is_service() => {