Fix rollback_hook doc

This commit is contained in:
gwenn 2021-12-11 12:10:01 +01:00
parent 3d19f2c962
commit 4ceb290235

View File

@ -354,8 +354,6 @@ impl Connection {
/// Register a callback function to be invoked whenever
/// a transaction is committed.
///
/// The callback returns `true` to rollback.
#[inline]
pub fn rollback_hook<F>(&self, hook: Option<F>)
where