Replace row changes/count type (i32) with usize

Breaking change
This commit is contained in:
gwenn
2018-05-23 21:23:28 +02:00
parent c6f4ae632a
commit 0d0a7bf81f
4 changed files with 12 additions and 13 deletions

View File

@@ -77,10 +77,9 @@ mod serde_json;
/// # extern crate rusqlite;
/// # use rusqlite::{Connection, Result};
/// # use rusqlite::types::{Null};
/// # use std::os::raw::{c_int};
/// fn main() {
/// }
/// fn insert_null(conn: &Connection) -> Result<c_int> {
/// fn insert_null(conn: &Connection) -> Result<usize> {
/// conn.execute("INSERT INTO people (name) VALUES (?)", &[&Null])
/// }
/// ```