mirror of
https://github.com/isar/rusqlite.git
synced 2025-09-16 12:42:18 +08:00
Rustfmt
This commit is contained in:
@@ -19,8 +19,8 @@ use crate::{errmsg_to_string, str_to_cstring, Connection, DatabaseName, Result};
|
||||
|
||||
// https://sqlite.org/session.html
|
||||
|
||||
/// `feature = "session"` An instance of this object is a session that can be used to record changes
|
||||
/// to a database.
|
||||
/// `feature = "session"` An instance of this object is a session that can be
|
||||
/// used to record changes to a database.
|
||||
pub struct Session<'conn> {
|
||||
phantom: PhantomData<&'conn ()>,
|
||||
s: *mut ffi::sqlite3_session,
|
||||
@@ -377,8 +377,8 @@ impl Drop for ChangesetIter<'_> {
|
||||
}
|
||||
}
|
||||
|
||||
/// `feature = "session"` An item passed to a conflict-handler by `Connection::apply`,
|
||||
/// or an item generated by `ChangesetIter::next`.
|
||||
/// `feature = "session"` An item passed to a conflict-handler by
|
||||
/// `Connection::apply`, or an item generated by `ChangesetIter::next`.
|
||||
// TODO enum ? Delete, Insert, Update, ...
|
||||
pub struct ChangesetItem {
|
||||
it: *mut ffi::sqlite3_changeset_iter,
|
||||
|
Reference in New Issue
Block a user