Retain original import style

This commit is contained in:
Jonas Schievink 2021-05-18 16:08:43 +02:00
parent 223f87bb18
commit bb4b42acf1
3 changed files with 6 additions and 12 deletions

View file

@ -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,

View file

@ -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;

View file

@ -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<K> = indexmap::IndexSet<K, BuildHasherDefault<FxHasher>>;
pub(crate) type FxIndexMap<K, V> = indexmap::IndexMap<K, V, BuildHasherDefault<FxHasher>>;