working on thread, assembly is trolling me somehow
continuous-integration/drone/push Build is failing

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
juju committed 2022-12-31 03:02:46 +01:00
1 parent bc0c885052
commit 5a4f8a561e
4 files changed
+117 -4

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ impl<T> AsyncMutex<T> {
}
pub fn try_lock(&self) -> Option<AsyncMutexGuard<T>> {
if self.lock.try_lock() {
if !self.lock.try_lock() {
Some(AsyncMutexGuard { mutex: self })
} else {
None
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.