From 1aafe89a163b8b16518aaf7456b5c75293f9ddc6 Mon Sep 17 00:00:00 2001 From: Pascal Kuthe Date: Sun, 6 Aug 2023 20:15:56 +0200 Subject: [PATCH] fix typos --- src/boxcar.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/boxcar.rs b/src/boxcar.rs index 2e64c62..830e054 100644 --- a/src/boxcar.rs +++ b/src/boxcar.rs @@ -100,9 +100,9 @@ impl Vec { debug_assert!(!entries.is_null()); let entry = Bucket::::get(entries, location.entry, self.columns); // this looks odd but is necessary to ensure cross - // thread synchronizaton (essentailly acting as a memory barrier) - // since the caller must only gurantee that he has observed active on any thread - // but the current thread might still have an old value cached (altough unlikely) + // thread synchronization (essentially acting as a memory barrier) + // since the caller must only guarantee that he has observed active on any thread + // but the current thread might still have an old value cached (although unlikely) let _ = (*entry).active.load(Ordering::Acquire); Entry::read(entry, self.columns) }