diff --git a/src/lib.rs b/src/lib.rs index ec73299..7bb2edc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -98,6 +98,7 @@ pub struct Database<'d> { _phantom: PhantomData<&'d raw::sqlite3>, } +/// A callback executed for each row of the result of an SQL query. pub type ExecuteCallback<'c> = FnMut(Vec<(String, String)>) -> bool + 'c; impl<'d> Database<'d> {