Add missing import

This commit is contained in:
Daan Schutte 2021-11-22 19:52:45 +03:00 committed by Thom Chiovoloni
parent 40fbc5ca10
commit ca41531f6f

View File

@ -513,7 +513,7 @@ impl Connection {
/// ### With positional params of varying types /// ### With positional params of varying types
/// ///
/// ```rust,no_run /// ```rust,no_run
/// # use rusqlite::{Connection}; /// # use rusqlite::{params, Connection};
/// fn update_rows(conn: &Connection) { /// fn update_rows(conn: &Connection) {
/// match conn.execute("UPDATE foo SET bar = 'baz' WHERE qux = ?1 AND quux = ?2", params![1i32, 1.5f64]) { /// match conn.execute("UPDATE foo SET bar = 'baz' WHERE qux = ?1 AND quux = ?2", params![1i32, 1.5f64]) {
/// Ok(updated) => println!("{} rows were updated", updated), /// Ok(updated) => println!("{} rows were updated", updated),