chore: simplify import path (#12523)

This commit is contained in:
Tien Nguyen
2024-11-14 00:11:32 +07:00
committed by GitHub
parent 7a1698c504
commit 413d651391

View File

@ -5,7 +5,10 @@ use crate::{
};
use std::{
ptr,
sync::mpsc::{sync_channel, Receiver, SyncSender},
sync::{
mpsc::{sync_channel, Receiver, SyncSender},
Arc,
},
};
#[derive(Copy, Clone, Debug)]
@ -28,7 +31,7 @@ pub(crate) enum TxnManagerMessage {
pub(crate) struct TxnManager {
sender: SyncSender<TxnManagerMessage>,
#[cfg(feature = "read-tx-timeouts")]
read_transactions: Option<std::sync::Arc<read_transactions::ReadTransactions>>,
read_transactions: Option<Arc<read_transactions::ReadTransactions>>,
}
impl TxnManager {