mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-10-30 15:36:59 +00:00
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:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user