V3HHWF4Q5GNB3EAIVEBF274OZ4VNC2MFP25CLLRRCQUA2PGDJMQQC
SXEYMYF7P4RZMZ46WPL4IZUTSQ2ATBWYZX7QNVMS3SGOYXYOHAGQC
pub fn commit<T: pristine::MutTxnT>(txn: std::sync::Arc<std::sync::RwLock<T>>) -> Result<(), T::GraphError> { let txn = if let Ok(txn) = std::sync::Arc::try_unwrap(txn) { txn.into_inner().unwrap() } else { unreachable!() }; txn.commit()}
pub fn commit<T: pristine::MutTxnT>(txn: std::sync::Arc<std::sync::RwLock<T>>) -> Result<(), T::GraphError> {
let txn = if let Ok(txn) = std::sync::Arc::try_unwrap(txn) {
txn.into_inner().unwrap()
} else {
unreachable!()
};
txn.commit()
}