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:
1 parent
317abedece
commit
bd2d1de873
3 files changed
+24
-1
No files matched your search
@@ -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> {
|
||||
|
||||
Reference in new issue
Block a user