Skip to content

Commit 29bb315

Browse files
committed
fix warning
1 parent 0a0e2b6 commit 29bb315

File tree

1 file changed

+6
-6
lines changed
  • turbopack/crates/turbo-tasks-backend/src/backend/operation

1 file changed

+6
-6
lines changed

turbopack/crates/turbo-tasks-backend/src/backend/operation/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ mod update_collectible;
1010
use std::{
1111
fmt::{Debug, Formatter},
1212
mem::transmute,
13-
sync::{Arc, atomic::Ordering},
13+
sync::atomic::Ordering,
1414
};
1515

1616
use bincode::{Decode, Encode};
@@ -103,7 +103,7 @@ where
103103
_operation_guard: Option<OperationGuard<'e, B>>,
104104
transaction: TransactionState<'e, 'tx, B>,
105105
#[cfg(debug_assertions)]
106-
active_task_locks: Arc<std::sync::atomic::AtomicU8>,
106+
active_task_locks: std::sync::Arc<std::sync::atomic::AtomicU8>,
107107
}
108108

109109
impl<'e, 'tx, B: BackingStorage> ExecuteContextImpl<'e, 'tx, B>
@@ -120,7 +120,7 @@ where
120120
_operation_guard: Some(backend.start_operation()),
121121
transaction: TransactionState::None,
122122
#[cfg(debug_assertions)]
123-
active_task_locks: Arc::new(std::sync::atomic::AtomicU8::new(0)),
123+
active_task_locks: std::sync::Arc::new(std::sync::atomic::AtomicU8::new(0)),
124124
}
125125
}
126126

@@ -135,7 +135,7 @@ where
135135
_operation_guard: Some(backend.start_operation()),
136136
transaction: TransactionState::Borrowed(transaction),
137137
#[cfg(debug_assertions)]
138-
active_task_locks: Arc::new(std::sync::atomic::AtomicU8::new(0)),
138+
active_task_locks: std::sync::Arc::new(std::sync::atomic::AtomicU8::new(0)),
139139
}
140140
}
141141

@@ -584,7 +584,7 @@ impl<'e, B: BackingStorage> ChildExecuteContext<'e> for ChildExecuteContextImpl<
584584
_operation_guard: None,
585585
transaction: TransactionState::None,
586586
#[cfg(debug_assertions)]
587-
active_task_locks: Arc::new(std::sync::atomic::AtomicU8::new(0)),
587+
active_task_locks: std::sync::Arc::new(std::sync::atomic::AtomicU8::new(0)),
588588
}
589589
}
590590
}
@@ -740,7 +740,7 @@ pub struct TaskGuardImpl<'a, B: BackingStorage> {
740740
#[cfg(debug_assertions)]
741741
category: TaskDataCategory,
742742
#[cfg(debug_assertions)]
743-
active_task_locks: Arc<std::sync::atomic::AtomicU8>,
743+
active_task_locks: std::sync::Arc<std::sync::atomic::AtomicU8>,
744744
}
745745

746746
#[cfg(debug_assertions)]

0 commit comments

Comments
 (0)