mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Remove lifetime from SnapshotInstanceResult
This commit is contained in:
parent
d2e2a13479
commit
02f98a4053
12 changed files with 16 additions and 19 deletions
|
|
@ -25,7 +25,7 @@ impl SnapshotMiddleware for SnapshotProject {
|
|||
context: &mut InstanceSnapshotContext,
|
||||
vfs: &Vfs<F>,
|
||||
entry: &VfsEntry,
|
||||
) -> SnapshotInstanceResult<'static> {
|
||||
) -> SnapshotInstanceResult {
|
||||
if entry.is_directory() {
|
||||
let project_path = entry.path().join("default.project.json");
|
||||
|
||||
|
|
@ -81,7 +81,7 @@ pub fn snapshot_project_node<F: VfsFetcher>(
|
|||
instance_name: &str,
|
||||
node: &ProjectNode,
|
||||
vfs: &Vfs<F>,
|
||||
) -> SnapshotInstanceResult<'static> {
|
||||
) -> SnapshotInstanceResult {
|
||||
let name = Cow::Owned(instance_name.to_owned());
|
||||
let mut class_name = node
|
||||
.class_name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue