Fix doc comments for postgres types refering to MySQL

This commit is contained in:
Jonas Platte 2021-03-22 20:10:40 +01:00 committed by Ryan Leckey
parent cc2f2c1f72
commit 33524ebdad
2 changed files with 2 additions and 2 deletions

View File

@ -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>);

View File

@ -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>,