Skip to content

Commit eff1b99

Browse files
committed
fix visitor doctests
1 parent 6432a93 commit eff1b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ast/visitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ where
547547
///
548548
/// visit_expressions_mut(&mut statements, |expr| {
549549
/// if matches!(expr, Expr::Identifier(col_name) if col_name.value == "x") {
550-
/// let old_expr = std::mem::replace(expr, Expr::Value(Value::Null));
550+
/// let old_expr = std::mem::replace(expr, Expr::value(Value::Null));
551551
/// *expr = Expr::Function(Function {
552552
/// name: ObjectName::from(vec![Ident::new("f")]),
553553
/// uses_odbc_syntax: false,

0 commit comments

Comments
 (0)