Start stripping out lifetimes in InstanceSnapshot

This commit is contained in:
Lucien Greathouse 2019-11-19 13:05:18 -08:00
parent f32cb592e2
commit d2e2a13479
5 changed files with 23 additions and 29 deletions

View file

@ -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