diff options
| author | Botahamec <botahamec@outlook.com> | 2022-10-27 18:41:59 -0400 |
|---|---|---|
| committer | Botahamec <botahamec@outlook.com> | 2022-10-27 18:41:59 -0400 |
| commit | 462c15bf6838c50400b755554a236ee1c687fb22 (patch) | |
| tree | aacdef10b09d1f59f8d469d79fe9f4f870c0d282 /src | |
| parent | c55152017ea3365172b82738291a5e02df0f13ef (diff) | |
Reordered use statements
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -5,11 +5,12 @@ use std::any::type_name; use std::fmt::{self, Debug}; use std::marker::PhantomData; +use once_cell::sync::Lazy; +use thread_local::ThreadLocal; + mod lock; pub use lock::{Key, Lock}; -use once_cell::sync::Lazy; -use thread_local::ThreadLocal; static KEY: Lazy<ThreadLocal<Lock>> = Lazy::new(ThreadLocal::new); |
