Skip to content

Commit 2d59e59

Browse files
committed
Fix PostgresLazyResult docs
1 parent 587cbff commit 2d59e59

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ pub struct PostgresNotifications<'conn> {
235235
priv conn: &'conn PostgresConnection
236236
}
237237

238-
impl<'conn > Iterator<PostgresNotification> for PostgresNotifications<'conn> {
238+
impl<'conn> Iterator<PostgresNotification> for PostgresNotifications<'conn> {
239239
/// Returns the oldest pending notification or `None` if there are none.
240240
///
241241
/// # Note
@@ -1525,8 +1525,6 @@ impl<'a> RowIndex for &'a str {
15251525
}
15261526

15271527
/// A lazily-loaded iterator over the resulting rows of a query
1528-
///
1529-
/// This is a smart pointer around a `PostgresResult`.
15301528
pub struct PostgresLazyResult<'trans, 'stmt> {
15311529
priv result: PostgresResult<'stmt>,
15321530
priv trans: &'trans PostgresTransaction<'trans>,

0 commit comments

Comments
 (0)