From 33524ebdad677e0b8050fbf37348853867066bb7 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 22 Mar 2021 20:10:40 +0100 Subject: [PATCH] Fix doc comments for postgres types refering to MySQL --- sqlx/src/postgres/connection.rs | 2 +- sqlx/src/postgres/options.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlx/src/postgres/connection.rs b/sqlx/src/postgres/connection.rs index a4b0b1aa..fc03c6e1 100644 --- a/sqlx/src/postgres/connection.rs +++ b/sqlx/src/postgres/connection.rs @@ -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(pub(super) sqlx_postgres::PgConnection); diff --git a/sqlx/src/postgres/options.rs b/sqlx/src/postgres/options.rs index 7b6f774a..69ff88ac 100644 --- a/sqlx/src/postgres/options.rs +++ b/sqlx/src/postgres/options.rs @@ -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 { runtime: PhantomData,