From abfb603cd213a408d9002e1c3bdc1ec49e2d2492 Mon Sep 17 00:00:00 2001 From: Ivan Ukhov Date: Sun, 2 Aug 2015 22:31:34 -0400 Subject: [PATCH] Adjust the documentation --- src/connection.rs | 3 +-- src/iterator.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/connection.rs b/src/connection.rs index 083168a..548924e 100644 --- a/src/connection.rs +++ b/src/connection.rs @@ -60,8 +60,7 @@ impl Connection { ::statement::new(self.raw, statement) } - /// Create a reusable iterator over the resulting rows of a prepared - /// statement. + /// Create an iterator over the resulting rows of a prepared statement. #[inline] pub fn iterate<'l, T: AsRef>(&'l self, statement: T) -> Result> { ::iterator::new(try!(::statement::new(self.raw, statement))) diff --git a/src/iterator.rs b/src/iterator.rs index ccb28f2..1df00f8 100644 --- a/src/iterator.rs +++ b/src/iterator.rs @@ -1,7 +1,7 @@ use statement::{State, Statement, Bindable, Readable}; use {Result, Value}; -/// A reusable iterator over the results of a prepared statement. +/// An iterator over the results of a prepared statement. pub struct Iterator<'l> { state: Option, values: Option>,