summaryrefslogtreecommitdiffstats
path: root/src/util.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-12-13 02:57:05 -0500
committerJesse Luehrs <doy@tozt.net>2021-12-13 02:57:05 -0500
commitf7e3f34adfbe3a9ff2adb92fe094ef9dff4c5dbb (patch)
treea4ec3255473f5d9af733bdedf849a932f7f80975 /src/util.rs
parent40a943a422623f0533fbac40285164709b86b5a0 (diff)
downloadnbsh-f7e3f34adfbe3a9ff2adb92fe094ef9dff4c5dbb.tar.gz
nbsh-f7e3f34adfbe3a9ff2adb92fe094ef9dff4c5dbb.zip
this is actually pretty unnecessary
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/util.rs b/src/util.rs
deleted file mode 100644
index d792b91..0000000
--- a/src/util.rs
+++ /dev/null
@@ -1,5 +0,0 @@
-pub type Mutex<T> = async_std::sync::Arc<async_std::sync::Mutex<T>>;
-
-pub fn mutex<T>(t: T) -> Mutex<T> {
- async_std::sync::Arc::new(async_std::sync::Mutex::new(t))
-}