minus-squarenrab@sh.itjust.workstoRust@programming.dev•sqlx::Transaction and Arc<Mutex<Transaction>>linkfedilinkEnglisharrow-up5·6 days agoMake sure there’s only one strong reference and call Arc::into_inner to move it out of the Arc. Same can be done with Mutex::into_inner to move the transaction out of the mutex linkfedilink
Make sure there’s only one strong reference and call Arc::into_inner to move it out of the Arc. Same can be done with Mutex::into_inner to move the transaction out of the mutex