mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 11:31:37 +08:00
Fix rollback_hook doc
This commit is contained in:
parent
3d19f2c962
commit
4ceb290235
@ -354,8 +354,6 @@ impl Connection {
|
|||||||
|
|
||||||
/// Register a callback function to be invoked whenever
|
/// Register a callback function to be invoked whenever
|
||||||
/// a transaction is committed.
|
/// a transaction is committed.
|
||||||
///
|
|
||||||
/// The callback returns `true` to rollback.
|
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn rollback_hook<F>(&self, hook: Option<F>)
|
pub fn rollback_hook<F>(&self, hook: Option<F>)
|
||||||
where
|
where
|
||||||
|
Loading…
Reference in New Issue
Block a user