chore: clean up unused imports in test common module
Remove redundant AtomicUsize/Ordering/Arc re-exports from common/mod.rs and runtime_mechanics.rs. Zero warnings now. Authored by Claude, lovingly guided by Zachery Aaron Shores-Chmielewski
This commit is contained in:
parent
133314903a
commit
e21a4ae19c
2 changed files with 1 additions and 10 deletions
|
|
@ -1,13 +1,10 @@
|
||||||
// Shared types and helpers for runtime test files.
|
// Shared types and helpers for runtime test files.
|
||||||
|
|
||||||
#![allow(dead_code)]
|
#![allow(dead_code, unused_imports)]
|
||||||
|
|
||||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
pub use std::sync::atomic;
|
|
||||||
pub use std::sync::Arc as StdArc;
|
|
||||||
|
|
||||||
pub use swactor::actor::{ActorAddress, ActorInterface, Down, MonitorRef, StopReason};
|
pub use swactor::actor::{ActorAddress, ActorInterface, Down, MonitorRef, StopReason};
|
||||||
pub use swactor::runtime::{Ctx, Inbox, MailboxOverflow, Runtime, RuntimeConfig};
|
pub use swactor::runtime::{Ctx, Inbox, MailboxOverflow, Runtime, RuntimeConfig};
|
||||||
pub use swactor_std::{
|
pub use swactor_std::{
|
||||||
|
|
@ -15,9 +12,6 @@ pub use swactor_std::{
|
||||||
RoutingStrategy, RuntimeGroups, RuntimeNaming, StdExtension, Supervisor, SupervisorStrategy,
|
RoutingStrategy, RuntimeGroups, RuntimeNaming, StdExtension, Supervisor, SupervisorStrategy,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Re-export commonly used std items
|
|
||||||
pub use std::sync::atomic::{AtomicUsize as AtomicUsizeT, Ordering as OrderingT};
|
|
||||||
|
|
||||||
// ── Messages ────────────────────────────────────────────────────────────────
|
// ── Messages ────────────────────────────────────────────────────────────────
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,6 @@
|
||||||
mod common;
|
mod common;
|
||||||
use common::*;
|
use common::*;
|
||||||
|
|
||||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
|
||||||
use std::sync::Arc;
|
|
||||||
|
|
||||||
// ── Load-Aware Placement Tests ─────────────────────────────────────────────
|
// ── Load-Aware Placement Tests ─────────────────────────────────────────────
|
||||||
|
|
||||||
/// Given a multi-threaded runtime where one worker has many more actors,
|
/// Given a multi-threaded runtime where one worker has many more actors,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue