Adjust the documentation

This commit is contained in:
Ivan Ukhov 2020-06-13 09:06:57 +02:00
parent 4973bbc397
commit ac615887f7
2 changed files with 5 additions and 5 deletions

View File

@ -33,8 +33,8 @@ connection
.unwrap(); .unwrap();
``` ```
The same query using a prepared statement, which is much more efficient than The same query using a prepared statement, which is much more efficient than the
the previous technique: previous technique:
```rust ```rust
use sqlite::State; use sqlite::State;
@ -51,8 +51,8 @@ while let State::Row = statement.next().unwrap() {
} }
``` ```
The same query using a cursor, which is a wrapper around a prepared The same query using a cursor, which is a wrapper around a prepared statement
statement providing the concept of row and featuring all-at-once binding: providing the notion of row and featuring all-at-once binding:
```rust ```rust
use sqlite::Value; use sqlite::Value;

View File

@ -70,7 +70,7 @@
//! ``` //! ```
//! //!
//! The same query using a cursor, which is a wrapper around a prepared //! The same query using a cursor, which is a wrapper around a prepared
//! statement providing the concept of row and featuring all-at-once binding: //! statement providing the notion of row and featuring all-at-once binding:
//! //!
//! ``` //! ```
//! use sqlite::Value; //! use sqlite::Value;