Skip to content

Commit 1c546de

Browse files
committed
Update comments
1 parent ce7984f commit 1c546de

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/ast/query.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,10 @@ pub enum TableFactor {
242242
},
243243
/// Represents a parenthesized table factor. The SQL spec only allows a
244244
/// join expression (`(foo <JOIN> bar [ <JOIN> baz ... ])`) to be nested,
245-
/// possibly several times, but the parser also accepts the non-standard
246-
/// nesting of bare tables (`table_with_joins.joins.is_empty()`), so the
247-
/// name `NestedJoin` is a bit of misnomer.
245+
/// possibly several times.
246+
///
247+
/// The parser may also accept non-standard nesting of bare tables for some
248+
/// dialects, but the information about such nesting is stripped from AST.
248249
NestedJoin(Box<TableWithJoins>),
249250
}
250251

0 commit comments

Comments
 (0)