diff --git a/src/derived/slot.rs b/src/derived/slot.rs index 00df8101..7814a680 100644 --- a/src/derived/slot.rs +++ b/src/derived/slot.rs @@ -1,3 +1,4 @@ +use crate::blocking_future::{BlockingFuture, Promise}; use crate::debug::TableEntry; use crate::derived::MemoizationPolicy; use crate::durability::Durability; @@ -9,10 +10,7 @@ use crate::revision::Revision; use crate::runtime::Runtime; use crate::runtime::RuntimeId; use crate::runtime::StampedValue; -use crate::{ - blocking_future::{BlockingFuture, Promise}, - Canceled, -}; +use crate::Canceled; use crate::{ CycleError, Database, DatabaseKeyIndex, DiscardIf, DiscardWhat, Event, EventKind, QueryDb, SweepStrategy, diff --git a/src/lib.rs b/src/lib.rs index 49369e7e..910ee3ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -32,12 +32,10 @@ use crate::plumbing::LruQueryStorageOps; use crate::plumbing::QueryStorageMassOps; use crate::plumbing::QueryStorageOps; pub use crate::revision::Revision; +use std::fmt::{self, Debug}; use std::hash::Hash; +use std::panic::{self, UnwindSafe}; use std::sync::Arc; -use std::{ - fmt::{self, Debug}, - panic::{self, UnwindSafe}, -}; pub use crate::durability::Durability; pub use crate::intern_id::InternId; diff --git a/src/runtime.rs b/src/runtime.rs index 1ff3c3a5..0384ec7f 100644 --- a/src/runtime.rs +++ b/src/runtime.rs @@ -7,12 +7,10 @@ use parking_lot::lock_api::{RawRwLock, RawRwLockRecursive}; use parking_lot::{Mutex, RwLock}; use rustc_hash::{FxHashMap, FxHasher}; use smallvec::SmallVec; +use std::hash::{BuildHasherDefault, Hash}; +use std::panic::RefUnwindSafe; use std::sync::atomic::{AtomicUsize, Ordering}; use std::sync::Arc; -use std::{ - hash::{BuildHasherDefault, Hash}, - panic::RefUnwindSafe, -}; pub(crate) type FxIndexSet = indexmap::IndexSet>; pub(crate) type FxIndexMap = indexmap::IndexMap>;