mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
Fix doc comments for postgres types refering to MySQL
This commit is contained in:
parent
cc2f2c1f72
commit
33524ebdad
@ -12,7 +12,7 @@ use crate::{Arguments, Close, Connect, Connection, DefaultRuntime, Describe, Run
|
||||
#[cfg(feature = "async")]
|
||||
use crate::{Async, Result};
|
||||
|
||||
/// A single connection (also known as a session) to a MySQL database server.
|
||||
/// A single connection (also known as a session) to a PostgreSQL database server.
|
||||
#[allow(clippy::module_name_repetitions)]
|
||||
pub struct PgConnection<Rt: Runtime = DefaultRuntime>(pub(super) sqlx_postgres::PgConnection<Rt>);
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ use super::PgConnection;
|
||||
use crate::Async;
|
||||
use crate::{ConnectOptions, DefaultRuntime, Error, Result, Runtime};
|
||||
|
||||
/// Options which can be used to configure how a MySQL connection is opened.
|
||||
/// Options which can be used to configure how a PostgreSQL connection is opened.
|
||||
#[allow(clippy::module_name_repetitions)]
|
||||
pub struct PgConnectOptions<Rt: Runtime = DefaultRuntime> {
|
||||
runtime: PhantomData<Rt>,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user