From f2dae4e74ad3fb5f19722e4df29deddb85ff0872 Mon Sep 17 00:00:00 2001 From: Liao Tonglang Date: Tue, 22 Oct 2019 18:46:43 +0800 Subject: [PATCH] fix typo in comment of LRUHandle LRUHandle has no member "next_", fix it to "next" instead. --- util/cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/cache.cc b/util/cache.cc index 12de306..a9b3e6c 100644 --- a/util/cache.cc +++ b/util/cache.cc @@ -53,7 +53,7 @@ struct LRUHandle { char key_data[1]; // Beginning of key Slice key() const { - // next_ is only equal to this if the LRU handle is the list head of an + // next is only equal to this if the LRU handle is the list head of an // empty list. List heads never have meaningful keys. assert(next != this);