summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2022-10-18 13:24:30 +0800
committerGitHub <noreply@github.com>2022-10-18 08:24:30 +0300
commita9d561afa5970a38b35be0c9cf23af5294bcedf0 (patch)
treea4b6782e5bbdf1fdb37f778e31068c7ec22fa5b0
parent3193f086ca0e167e89b6c5cf14133c03213b8378 (diff)
downloadredis-a9d561afa5970a38b35be0c9cf23af5294bcedf0.tar.gz
Bump codespell from 2.2.1 to 2.2.2 in /.codespell (#11399)
And fix a few newly detected typo. Closes #11394
-rw-r--r--.codespell/requirements.txt2
-rw-r--r--src/defrag.c2
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