File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -195,20 +195,20 @@ impl error::Error for DbError {
195
195
pub enum ConnectError {
196
196
/// An error creating `ConnectParams`.
197
197
BadConnectParams ( Box < error:: Error +Sync +Send > ) ,
198
- /// The URL was missing a user.
198
+ /// The `ConnectParams` was missing a user.
199
199
MissingUser ,
200
200
/// An error from the Postgres server itself.
201
201
DbError ( Box < DbError > ) ,
202
- /// A password was required but not provided in the URL .
202
+ /// A password was required but not provided in the `ConnectParams` .
203
203
MissingPassword ,
204
204
/// The Postgres server requested an authentication method not supported
205
205
/// by the driver.
206
206
UnsupportedAuthentication ,
207
207
/// The Postgres server does not support SSL encryption.
208
208
NoSslSupport ,
209
- /// There was an error initializing the SSL session.
209
+ /// An error initializing the SSL session.
210
210
SslError ( Box < error:: Error +Sync +Send > ) ,
211
- /// There was an error communicating with the server.
211
+ /// An error communicating with the server.
212
212
IoError ( io:: Error ) ,
213
213
}
214
214
Original file line number Diff line number Diff line change @@ -881,7 +881,7 @@ impl Connection {
881
881
self . conn . borrow_mut ( ) . set_notice_handler ( handler)
882
882
}
883
883
884
- /// Returns an iterator over asynchronous notification messages .
884
+ /// Returns a structure providing access to asynchronous notifications .
885
885
///
886
886
/// Use the `LISTEN` command to register this connection for notifications.
887
887
pub fn notifications < ' a > ( & ' a self ) -> Notifications < ' a > {
You can’t perform that action at this time.
0 commit comments