diff --git a/src/params.rs b/src/params.rs index 7b582de..1fc3a3e 100644 --- a/src/params.rs +++ b/src/params.rs @@ -124,7 +124,7 @@ use sealed::Sealed; /// ```rust,no_run /// # use rusqlite::{Connection, Result, named_params}; /// fn insert(conn: &Connection) -> Result<()> { -/// let mut stmt = conn.prepare("INSERT INTO test (key, value) VALUES (:key, :value)")?; +/// let mut stmt = conn.prepare("INSERT INTO test (key, value) VALUES (:key, :val)")?; /// // Using `rusqlite::params!`: /// stmt.execute(named_params! { ":key": "one", ":val": 2 })?; /// // Alternatively: