Skip to content

Commit 26cfd8d

Browse files
committed
Doc
1 parent acd5bcd commit 26cfd8d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/visit.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ fn walk_file(
116116

117117
/// `syn` visitor that recursively traverses the syntax tree, accumulating places
118118
/// that could be mutated.
119+
///
120+
/// As it walks the tree, it accumulates within itself a list of mutation opportunities,
121+
/// and other files referenced by `mod` statements that should be visited later.
119122
struct DiscoveryVisitor<'o> {
120123
/// All the mutants generated by visiting the file.
121124
mutants: Vec<Mutant>,

0 commit comments

Comments
 (0)