We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b853900 commit 9d44bb8Copy full SHA for 9d44bb8
1 file changed
src/lib.rs
@@ -231,8 +231,7 @@ impl IntoConnectParams for Url {
231
};
232
233
let user = match user {
234
- Some(UserInfo { user, pass }) =>
235
- Some(PostgresUserInfo { user: user, password: pass }),
+ Some(UserInfo { user, pass }) => Some(PostgresUserInfo { user: user, password: pass }),
236
None => None,
237
238
@@ -316,7 +315,7 @@ pub struct PostgresCancelData {
316
315
/// `PostgresConnection::cancel_data`. The object can cancel any query made on
317
/// that connection.
318
///
319
-/// Only the host and port of the connetion info are used. See
+/// Only the host and port of the connection info are used. See
320
/// `PostgresConnection::connect` for details of the `params` argument.
321
322
/// ## Example
0 commit comments