Skip to content

Commit 9d44bb8

Browse files
committed
Fix doc typo
1 parent b853900 commit 9d44bb8

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,7 @@ impl IntoConnectParams for Url {
231231
};
232232

233233
let user = match user {
234-
Some(UserInfo { user, pass }) =>
235-
Some(PostgresUserInfo { user: user, password: pass }),
234+
Some(UserInfo { user, pass }) => Some(PostgresUserInfo { user: user, password: pass }),
236235
None => None,
237236
};
238237

@@ -316,7 +315,7 @@ pub struct PostgresCancelData {
316315
/// `PostgresConnection::cancel_data`. The object can cancel any query made on
317316
/// that connection.
318317
///
319-
/// Only the host and port of the connetion info are used. See
318+
/// Only the host and port of the connection info are used. See
320319
/// `PostgresConnection::connect` for details of the `params` argument.
321320
///
322321
/// ## Example

0 commit comments

Comments
 (0)