forked from rojo-rbx/rojo
Start stripping out lifetimes in InstanceSnapshot
This commit is contained in:
@@ -102,7 +102,7 @@ struct JsonModelCore {
|
||||
}
|
||||
|
||||
impl JsonModelCore {
|
||||
fn into_snapshot(self, name: String) -> InstanceSnapshot<'static> {
|
||||
fn into_snapshot(self, name: String) -> InstanceSnapshot {
|
||||
let class_name = self.class_name;
|
||||
|
||||
let children = self
|
||||
|
||||
@@ -7,7 +7,7 @@ use crate::{
|
||||
|
||||
use super::{context::InstanceSnapshotContext, error::SnapshotError};
|
||||
|
||||
pub type SnapshotInstanceResult<'a> = Result<Option<InstanceSnapshot<'a>>, SnapshotError>;
|
||||
pub type SnapshotInstanceResult<'a> = Result<Option<InstanceSnapshot>, SnapshotError>;
|
||||
pub type SnapshotFileResult = Option<(String, VfsSnapshot)>;
|
||||
|
||||
pub trait SnapshotMiddleware {
|
||||
|
||||
Reference in New Issue
Block a user