Removed InstanceSnapshot snapshot_id's redudant Ref. (#730)

Ref now is an optional inside, so it's redundant to have an option
wrapping an option. The only snapshots that were changed were any that
had a Ref within (from none to zeroed). Some also had some newlines
added in the end.
This commit is contained in:
utrain 2023-07-12 13:00:09 -04:00 • committed by GitHub
parent 623fa06d52
commit 80eb14f9da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 58 additions and 69 deletions

View file

@ -2,7 +2,7 @@ use std::{borrow::Cow, collections::HashMap, path::Path};
use anyhow::{bail, Context};
use memofs::Vfs;
use rbx_dom_weak::types::Attributes;
use rbx_dom_weak::types::{Attributes, Ref};
use rbx_reflection::ClassTag;
use crate::{
@ -271,7 +271,7 @@ pub fn snapshot_project_node(
));
Ok(Some(InstanceSnapshot {
snapshot_id: None,
snapshot_id: Ref::none(),
name,
class_name,
properties,