diff --git a/sqlx-core/src/pool/options.rs b/sqlx-core/src/pool/options.rs index 970b8fccd..a15ceb40b 100644 --- a/sqlx-core/src/pool/options.rs +++ b/sqlx-core/src/pool/options.rs @@ -470,7 +470,7 @@ impl PoolOptions { /// /// This ensures the configuration is correct. /// - /// The total number of connections opened is min(1, [min_connections][Self::min_connections]). + /// The total number of connections opened is max(1, [min_connections][Self::min_connections]). /// /// Refer to the relevant `ConnectOptions` impl for your database for the expected URL format: /// @@ -486,7 +486,7 @@ impl PoolOptions { /// /// This ensures the configuration is correct. /// - /// The total number of connections opened is min(1, [min_connections][Self::min_connections]). + /// The total number of connections opened is max(1, [min_connections][Self::min_connections]). pub async fn connect_with( self, options: ::Options,