diff --git a/heed/src/txn.rs b/heed/src/txn.rs index aa7e1e60..b6f9c202 100644 --- a/heed/src/txn.rs +++ b/heed/src/txn.rs @@ -57,7 +57,7 @@ fn abort_txn(txn: *mut ffi::MDB_txn) -> Result<()> { Ok(unsafe { ffi::mdb_txn_abort(txn) }) } -pub struct RwTxn<'e, 'p, T=()> { +pub struct RwTxn<'e, 'p, T = ()> { pub(crate) txn: RoTxn<'e, T>, _parent: marker::PhantomData<&'p mut ()>, }