wip: add diffing tests

This commit is contained in:
Jonathan Kelley committed 2022-11-22 20:16:14 -08:00
1 parent 4bfd936e12
commit 662f58c8bc
5 files changed
+76 -3

No files matched your search

+4
View File
@@ -103,6 +103,10 @@ impl ScopeState {
}
}
pub fn generation(&self) -> usize {
self.render_cnt.get()
}
/// Get a handle to the currently active bump arena for this Scope
///
/// This is a bump memory allocator. Be careful using this directly since the contents will be wiped on the next render.