docs: fix cargo doc errors and warnings (#2421)

* docs: fix cargo doc warnings and errors

* docs: fix warnings

* docs: fix warnings

* chore: rm src/common/function-macro/src/lib.rs
This commit is contained in:
Yingwen
2023-09-17 11:45:15 +00:00
committed by GitHub
parent 92824d1c66
commit 4a82926d72
41 changed files with 100 additions and 61 deletions
+3 -3
View File
@@ -29,9 +29,9 @@ const EXPLAIN: &str = "EXPLAIN";
use sqlparser::parser::Parser;
/// TQL extension parser, including:
/// - TQL EVAL <query>
/// - TQL EXPLAIN <query>
/// - TQL ANALYZE <query>
/// - `TQL EVAL <query>`
/// - `TQL EXPLAIN <query>`
/// - `TQL ANALYZE <query>`
impl<'a> ParserContext<'a> {
pub(crate) fn parse_tql(&mut self) -> Result<Statement> {
let _ = self.parser.next_token();
+1 -1
View File
@@ -20,7 +20,7 @@ use crate::parser::ParserContext;
use crate::statements::statement::Statement;
use crate::statements::truncate::TruncateTable;
/// TRUNCATE [TABLE] table_name;
/// `TRUNCATE [TABLE] table_name;`
impl<'a> ParserContext<'a> {
pub(crate) fn parse_truncate(&mut self) -> Result<Statement> {
let _ = self.parser.next_token();