File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -195,20 +195,20 @@ impl error::Error for DbError {
195195pub enum ConnectError {
196196 /// An error creating `ConnectParams`.
197197 BadConnectParams ( Box < error:: Error +Sync +Send > ) ,
198- /// The URL was missing a user.
198+ /// The `ConnectParams` was missing a user.
199199 MissingUser ,
200200 /// An error from the Postgres server itself.
201201 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` .
203203 MissingPassword ,
204204 /// The Postgres server requested an authentication method not supported
205205 /// by the driver.
206206 UnsupportedAuthentication ,
207207 /// The Postgres server does not support SSL encryption.
208208 NoSslSupport ,
209- /// There was an error initializing the SSL session.
209+ /// An error initializing the SSL session.
210210 SslError ( Box < error:: Error +Sync +Send > ) ,
211- /// There was an error communicating with the server.
211+ /// An error communicating with the server.
212212 IoError ( io:: Error ) ,
213213}
214214
Original file line number Diff line number Diff line change @@ -881,7 +881,7 @@ impl Connection {
881881 self . conn . borrow_mut ( ) . set_notice_handler ( handler)
882882 }
883883
884- /// Returns an iterator over asynchronous notification messages .
884+ /// Returns a structure providing access to asynchronous notifications .
885885 ///
886886 /// Use the `LISTEN` command to register this connection for notifications.
887887 pub fn notifications < ' a > ( & ' a self ) -> Notifications < ' a > {
You can’t perform that action at this time.
0 commit comments