diff options
| author | Mica White <botahamec@gmail.com> | 2024-12-26 11:06:23 -0500 |
|---|---|---|
| committer | Mica White <botahamec@gmail.com> | 2024-12-26 11:26:29 -0500 |
| commit | 096afea6f13692fddbfad0b07e5377cb2e81dd58 (patch) | |
| tree | 53c252e3277683e7e8686539fde83e6cc5e1762d /src/collection/retry.rs | |
| parent | a060123077b94f61e3d0802a6977ad547276fd1b (diff) | |
Rename kill to poison
Diffstat (limited to 'src/collection/retry.rs')
| -rw-r--r-- | src/collection/retry.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/collection/retry.rs b/src/collection/retry.rs index 687c5ec..cb6a1fb 100644 --- a/src/collection/retry.rs +++ b/src/collection/retry.rs @@ -36,10 +36,10 @@ fn contains_duplicates<L: Lockable>(data: L) -> bool { } unsafe impl<L: Lockable> RawLock for RetryingLockCollection<L> { - fn kill(&self) { + fn poison(&self) { let locks = get_locks(&self.data); for lock in locks { - lock.kill(); + lock.poison(); } } |
