doc: fix outdated commit

This commit is contained in:
Joonas Koivunen
2023-08-29 14:19:53 +03:00
parent b4c81f7dff
commit 8a27e58894

View File

@@ -822,8 +822,7 @@ impl LayerInner {
let can_evict = self.have_remote_client;
if gc {
// do nothing now, only when the whole layer is dropped. gc will end up deleting the
// whole layer, in case there is no reference cycle.
// do nothing now, only in LayerInner::drop
} else if can_evict && evict {
let version = self.version.load(Ordering::Relaxed);