summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lock.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lock.rs b/src/lock.rs
index 08e21c4..df83323 100644
--- a/src/lock.rs
+++ b/src/lock.rs
@@ -61,6 +61,7 @@ impl Lock {
self.is_locked.store(false, Ordering::Release);
}
+ /// Unlock the lock, consuming its key.
pub fn unlock(key: Key) {
drop(key);
}