summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crates/ignore/src/walk.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ignore/src/walk.rs b/crates/ignore/src/walk.rs
index a8d17180..d6ea9c21 100644
--- a/crates/ignore/src/walk.rs
+++ b/crates/ignore/src/walk.rs
@@ -591,7 +591,7 @@ impl WalkBuilder {
///
/// Note that this *doesn't* return something that implements `Iterator`.
/// Instead, the returned value must be run with a closure. e.g.,
- /// `builder.build_parallel().run(|| |path| println!("{:?}", path))`.
+ /// `builder.build_parallel().run(|| |path| { println!("{path:?}"); WalkState::Continue })`.
pub fn build_parallel(&self) -> WalkParallel {
WalkParallel {
paths: self.paths.clone().into_iter(),