Resolve the span containing `target` (preferring a non-empty span over an empty marker), if this change is loaded.
(&self, change_id: u64, target: u64)
| 44 | /// Resolve the span containing `target` (preferring a non-empty span over |
| 45 | /// an empty marker), if this change is loaded. |
| 46 | pub(crate) fn find_block(&self, change_id: u64, target: u64) -> Option<(u64, u64)> { |
| 47 | block(self.spans.get(&change_id)?, target) |
| 48 | } |
| 49 | |
| 50 | /// Resolve the span ending at `target` (or, failing that, containing it), |
| 51 | /// preferring an empty marker at exactly `target`, if this change is loaded. |
no test coverage detected