diff options
Diffstat (limited to 'src/lockable.rs')
| -rw-r--r-- | src/lockable.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lockable.rs b/src/lockable.rs index 1154d16..d599820 100644 --- a/src/lockable.rs +++ b/src/lockable.rs @@ -17,7 +17,7 @@ use std::mem::MaybeUninit; pub unsafe trait RawLock { /// Causes all subsequent calls to the `lock` function on this lock to /// panic. This does not affect anything currently holding the lock. - fn kill(&self); + fn poison(&self); /// Blocks until the lock is acquired /// |
