diff --git a/src/snapshot/instance_snapshot.rs b/src/snapshot/instance_snapshot.rs index e609c66c..c2b51780 100644 --- a/src/snapshot/instance_snapshot.rs +++ b/src/snapshot/instance_snapshot.rs @@ -38,23 +38,6 @@ pub struct InstanceSnapshot<'source> { } impl<'source> InstanceSnapshot<'source> { - pub fn get_owned(&'source self) -> InstanceSnapshot<'static> { - let children: Vec> = self - .children - .iter() - .map(InstanceSnapshot::get_owned) - .collect(); - - InstanceSnapshot { - snapshot_id: None, - metadata: self.metadata.clone(), - name: Cow::Owned(self.name.clone().into_owned()), - class_name: Cow::Owned(self.class_name.clone().into_owned()), - properties: self.properties.clone(), - children, - } - } - pub fn from_tree(tree: &RbxTree, id: RbxId) -> InstanceSnapshot<'static> { let instance = tree .get_instance(id)