Fix marking nodes as dirty when inserting into an existing hashmap entry (#4959)

* Fix marking nodes as dirty when inserting into an existing hashmap entry

* remove logs
This commit is contained in:
Evan Almloff authored and GitHub committed 2025-11-12 23:13:56 -03:00
1 parent 317abedece
commit bd2d1de873
3 files changed
+24 -1

No files matched your search

+9
View File
@@ -185,6 +185,15 @@ impl<Lens> SelectorScope<Lens> {
{
self.write.write_unchecked()
}
/// Borrow the writer
pub(crate) fn as_ref(&self) -> SelectorScope<&Lens> {
SelectorScope {
path: self.path,
store: self.store,
write: &self.write,
}
}
}
impl<Lens: Readable> Readable for SelectorScope<Lens> {