diff --git a/src/defrag.c b/src/defrag.c index d67b6e253..90837b28d 100644 --- a/src/defrag.c +++ b/src/defrag.c @@ -245,7 +245,7 @@ double *zslDefrag(zskiplist *zsl, double score, sds oldele, sds newele) { return NULL; } -/* Defrag helpler for sorted set. +/* Defrag helper for sorted set. * Defrag a single dict entry key name, and corresponding skiplist struct */ long activeDefragZsetEntry(zset *zs, dictEntry *de) { sds newsds; diff --git a/src/latency.c b/src/latency.c index 33aa1245b..4ec7cae69 100644 --- a/src/latency.c +++ b/src/latency.c @@ -154,7 +154,7 @@ int latencyResetEvent(char *event_to_reset) { /* Analyze the samples available for a given event and return a structure * populate with different metrics, average, MAD, min, max, and so forth. - * Check latency.h definition of struct latenctStat for more info. + * Check latency.h definition of struct latencyStats for more info. * If the specified event has no elements the structure is populate with * zero values. */ void analyzeLatencyForEvent(char *event, struct latencyStats *ls) { diff --git a/src/rax.h b/src/rax.h index f2521d14a..62e8df71a 100644 --- a/src/rax.h +++ b/src/rax.h @@ -58,7 +58,7 @@ * successive nodes having a single child are "compressed" into the node * itself as a string of characters, each representing a next-level child, * and only the link to the node representing the last character node is - * provided inside the representation. So the above representation is turend + * provided inside the representation. So the above representation is turned * into: * * ["foo"] ""