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/ref.rs | |
| parent | a060123077b94f61e3d0802a6977ad547276fd1b (diff) | |
Rename kill to poison
Diffstat (limited to 'src/collection/ref.rs')
| -rw-r--r-- | src/collection/ref.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/collection/ref.rs b/src/collection/ref.rs index 4fa5485..a9c3579 100644 --- a/src/collection/ref.rs +++ b/src/collection/ref.rs @@ -40,9 +40,9 @@ where } unsafe impl<L: Lockable> RawLock for RefLockCollection<'_, L> { - fn kill(&self) { + fn poison(&self) { for lock in &self.locks { - lock.kill(); + lock.poison(); } } |
