doc: use the fancy new intra-crate doc links everywhere

This commit is contained in:
Chloe Ross
2021-01-04 16:58:11 -08:00
committed by Austin Bonander
parent ef6c73c985
commit 2890d154a3
34 changed files with 66 additions and 103 deletions

View File

@@ -87,16 +87,16 @@ pub mod ty_match;
/// To see how each SQL type maps to a Rust type, see the corresponding `types` module for each
/// database:
///
/// * [PostgreSQL](../postgres/types/index.html)
/// * [MySQL](../mysql/types/index.html)
/// * [SQLite](../sqlite/types/index.html)
/// * [MSSQL](../mssql/types/index.html)
/// * Postgres: [postgres::types]
/// * MySQL: [mysql::types]
/// * SQLite: [sqlite::types]
/// * MSSQL: [mssql::types]
///
/// Any external types that have had [`Type`] implemented for, are re-exported in this module
/// for convenience as downstream users need to use a compatible version of the external crate
/// to take advantage of the implementation.
///
/// [`Type`]: types/trait.Type.html
/// [`Type`]: types::Type
pub mod types {
pub use sqlx_core::types::*;
@@ -105,7 +105,7 @@ pub mod types {
pub use sqlx_macros::Type;
}
/// Provides [`Encode`](encode/trait.Encode.html) for encoding values for the database.
/// Provides [`Encode`](encode::Encode) for encoding values for the database.
pub mod encode {
pub use sqlx_core::encode::{Encode, IsNull};
@@ -116,7 +116,7 @@ pub mod encode {
pub use self::encode::Encode;
/// Provides [`Decode`](decode/trait.Decode.html) for decoding values from the database.
/// Provides [`Decode`](decode::Decode) for decoding values from the database.
pub mod decode {
pub use sqlx_core::decode::Decode;