From a9d561afa5970a38b35be0c9cf23af5294bcedf0 Mon Sep 17 00:00:00 2001 From: Binbin Date: Tue, 18 Oct 2022 13:24:30 +0800 Subject: [PATCH] Bump codespell from 2.2.1 to 2.2.2 in /.codespell (#11399) And fix a few newly detected typo. Closes #11394 --- .codespell/requirements.txt | 2 +- src/defrag.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.codespell/requirements.txt b/.codespell/requirements.txt index 2f1c4287d..7c1c2ac74 100644 --- a/.codespell/requirements.txt +++ b/.codespell/requirements.txt @@ -1 +1 @@ -codespell==2.2.1 +codespell==2.2.2 diff --git a/src/defrag.c b/src/defrag.c index a756f26b0..ced4fd20a 100644 --- a/src/defrag.c +++ b/src/defrag.c @@ -405,7 +405,7 @@ long activeDefragSdsListAndDict(list *l, dict *d, int dict_val_type) { /* Utility function that replaces an old key pointer in the dictionary with a * new pointer. Additionally, we try to defrag the dictEntry in that dict. - * Oldkey mey be a dead pointer and should not be accessed (we get a + * Oldkey may be a dead pointer and should not be accessed (we get a * pre-calculated hash value). Newkey may be null if the key pointer wasn't * moved. Return value is the dictEntry if found, or NULL if not found. * NOTE: this is very ugly code, but it let's us avoid the complication of