Skip to content

Commit 0d7c69e

Browse files
rlyerlymeta-codesync[bot]
authored andcommitted
Fix typo in CacheAllocator.h
Summary: Fix typo in CacheAllocator.h comment ("attemp" → "attempt"). Reviewed By: AlnisM Differential Revision: D98780505 fbshipit-source-id: 59ad9949181eb813c812a8eaf5882df4cfb420d6
1 parent 912d372 commit 0d7c69e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cachelib/allocator/CacheAllocator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5196,7 +5196,7 @@ bool CacheAllocator<CacheTrait>::moveForSlabRelease(Item& oldItem) {
51965196
}
51975197
WriteHandle newItemHdl = allocateNewItemForOldItem(oldItem);
51985198

5199-
// if we have a valid handle, try to move, if not, we attemp to evict.
5199+
// if we have a valid handle, try to move, if not, we attempt to evict.
52005200
if (newItemHdl) {
52015201
// move can fail if another thread calls insertOrReplace
52025202
// in this case oldItem is no longer valid (not accessible,

0 commit comments

Comments
 (0)