Skip to content

Commit 8303099

Browse files
adriangbclaude
andcommitted
fix(sql): drop rustdoc intra-doc link to private helper
`parse_explain` is public and its doc linked to the private `token_starts_query` helper, which makes rustdoc error out. Drop the link; the prose already conveys the disambiguation logic. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent a6db91b commit 8303099

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

datafusion/sql/src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ impl<'a> DFParser<'a> {
825825
/// option list and the next non-whitespace token is `(`, we must
826826
/// disambiguate between an option list (`EXPLAIN (ANALYZE) SELECT ...`)
827827
/// and a parenthesized query (`EXPLAIN (SELECT ...)` or
828-
/// `EXPLAIN (q1 EXCEPT q2) UNION ALL ...`). See [`token_starts_query`].
828+
/// `EXPLAIN (q1 EXCEPT q2) UNION ALL ...`).
829829
pub fn parse_explain(&mut self) -> Result<Statement, DataFusionError> {
830830
if self.supports_explain_with_utility_options
831831
&& self.parser.peek_token().token == Token::LParen

0 commit comments

Comments
 (0)