diff --git a/sql-insight/src/extractor/crud_table_extractor.rs b/sql-insight/src/extractor/crud_table_extractor.rs index 8a6b14e..9314bf4 100644 --- a/sql-insight/src/extractor/crud_table_extractor.rs +++ b/sql-insight/src/extractor/crud_table_extractor.rs @@ -1,6 +1,6 @@ //! A Extractor that extracts CRUD tables from SQL queries. //! -//! See [`extract_crud_tables`](crate::extract_crud_tables) as the entry point for extracting CRUD tables from SQL. +//! See [`extract_crud_tables`](crate::extract_crud_tables()) as the entry point for extracting CRUD tables from SQL. use std::fmt; use std::ops::ControlFlow; diff --git a/sql-insight/src/extractor/table_extractor.rs b/sql-insight/src/extractor/table_extractor.rs index 3f5f445..76feaba 100644 --- a/sql-insight/src/extractor/table_extractor.rs +++ b/sql-insight/src/extractor/table_extractor.rs @@ -1,6 +1,6 @@ //! A Extractor that extracts tables from SQL queries. //! -//! See [`extract_tables`](crate::extract_tables) as the entry point for extracting tables from SQL. +//! See [`extract_tables`](crate::extract_tables()) as the entry point for extracting tables from SQL. use core::fmt; use std::ops::ControlFlow; diff --git a/sql-insight/src/formatter.rs b/sql-insight/src/formatter.rs index ddf0bd5..a89e1fe 100644 --- a/sql-insight/src/formatter.rs +++ b/sql-insight/src/formatter.rs @@ -1,6 +1,6 @@ //! A Formatter that formats SQL into a standardized format. //! -//! See [`format`](crate::format) as the entry point for formatting SQL. +//! See [`format`](crate::format()) as the entry point for formatting SQL. use crate::error::Error; use sqlparser::dialect::Dialect; diff --git a/sql-insight/src/lib.rs b/sql-insight/src/lib.rs index e1305b8..63b693d 100644 --- a/sql-insight/src/lib.rs +++ b/sql-insight/src/lib.rs @@ -4,10 +4,10 @@ //! //! ## Main Functionalities //! -//! - **SQL Formatting**: Format SQL queries into a standardized format. See the [`formatter`](crate::formatter) module for more information. -//! - **SQL Normalization**: Normalize SQL queries by abstracting literals. See the [`normalizer`](crate::normalizer) module for more information. -//! - **Table Extraction**: Extract tables within SQL queries. See the [`table_extractor`](crate::table_extractor) module for more information. -//! - **CRUD Table Extraction**: Extract CRUD tables from SQL queries. See the [`crud_table_extractor`](crate::crud_table_extractor) module for more information. +//! - **SQL Formatting**: Format SQL queries into a standardized format. See the [`formatter`] module for more information. +//! - **SQL Normalization**: Normalize SQL queries by abstracting literals. See the [`normalizer`] module for more information. +//! - **Table Extraction**: Extract tables within SQL queries. See the [`table_extractor`] module for more information. +//! - **CRUD Table Extraction**: Extract CRUD tables from SQL queries. See the [`crud_table_extractor`] module for more information. //! //! ## Quick Start //! diff --git a/sql-insight/src/normalizer.rs b/sql-insight/src/normalizer.rs index 3fa9252..fceac3a 100644 --- a/sql-insight/src/normalizer.rs +++ b/sql-insight/src/normalizer.rs @@ -1,6 +1,6 @@ //! A Normalizer that converts SQL queries to a canonical form. //! -//! See [`normalize`](crate::normalize) as the entry point for normalizing SQL. +//! See [`normalize`](crate::normalize()) as the entry point for normalizing SQL. use std::ops::ControlFlow;