diff --git a/swiftide/src/indexing/pipeline.rs b/swiftide/src/indexing/pipeline.rs index ea5b6201..3ef32ec4 100644 --- a/swiftide/src/indexing/pipeline.rs +++ b/swiftide/src/indexing/pipeline.rs @@ -147,6 +147,8 @@ impl Pipeline { /// Adds a transformer to the pipeline. /// + /// Closures can also be provided as transformers. + /// /// # Arguments /// /// * `transformer` - A transformer that implements the `Transformer` trait. @@ -175,6 +177,8 @@ impl Pipeline { /// Adds a batch transformer to the pipeline. /// + /// Closures can also be provided as batch transformers. + /// /// # Arguments /// /// * `batch_size` - The size of the batches to be processed.