doc: explain returning option

This commit is contained in:
Joonas Koivunen
2024-07-25 09:04:00 +00:00
parent 1ebcb1c45b
commit c2c28f211b

View File

@@ -300,7 +300,8 @@ impl GcBlocking {
self.clone()
}
/// Returns a version of self without the reason of detach_ancestor.
/// Returns a version of self without the reason of detach_ancestor. Assumption is that if
/// there are no more reasons, we can unblock the gc.
pub(super) fn without_detach_ancestor(&self) -> Option<Self> {
None
}