From 25b75bb1f90fb4e1f03df14a3a49bf761da28433 Mon Sep 17 00:00:00 2001 From: Peter Toth Date: Wed, 20 Dec 2023 18:02:13 +0100 Subject: [PATCH] fix docs --- datafusion/common/src/tree_node.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datafusion/common/src/tree_node.rs b/datafusion/common/src/tree_node.rs index 682c85033b0b..acb00fde2fac 100644 --- a/datafusion/common/src/tree_node.rs +++ b/datafusion/common/src/tree_node.rs @@ -456,8 +456,8 @@ pub trait TreeNodeVisitor: Sized { /// Implements the [visitor pattern](https://en.wikipedia.org/wiki/Visitor_pattern) for /// recursively transforming [`TreeNode`]s. /// -/// When passed to [`TreeNode::transform()`], [`TreeNodeVisitor::pre_transform()`] and -/// [`TreeNodeVisitor::post_transform()`] are invoked recursively on an node tree. +/// When passed to [`TreeNode::transform()`], [`TreeNodeTransformer::pre_transform()`] and +/// [`TreeNodeTransformer::post_transform()`] are invoked recursively on an node tree. /// See [`TreeNodeRecursion`] for more details on how the traversal can be controlled. /// /// If an [`Err`] result is returned, recursion is stopped immediately.