Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 0bd6985

Browse files
author
Hendrik van Antwerpen
committed
Add note about cross-file edges
1 parent 1b1f75a commit 0bd6985

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stack-graphs/src/partial.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2481,6 +2481,9 @@ impl PartialPaths {
24812481
/// necessary pieces, then you should code up your own loop that calls
24822482
/// [`PartialPath::extend`][] manually.
24832483
///
2484+
/// Caveat: Edges between nodes of different files are not used. Hence the returned set of partial
2485+
/// paths will not cover paths going through those edges.
2486+
///
24842487
/// [`PartialPath::extend`]: struct.PartialPath.html#method.extend
24852488
pub fn find_minimal_partial_paths_set_in_file<F>(
24862489
&mut self,

0 commit comments

Comments
 (0)