From a9d37b766d19d52d86e2cd7b407d8b366ce6c03e Mon Sep 17 00:00:00 2001 From: Edoardo Costantini Date: Mon, 11 Jul 2022 04:00:06 +0200 Subject: [PATCH] fixed committed_entries in lib documentation (#481) Signed-off-by: Edoardo --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 2872851f..e712ac84 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -253,7 +253,7 @@ a Raft snapshot from the leader and we must apply the snapshot: ``` -3. Check whether `committed_entires` is empty or not. If not, it means that there are some newly +3. Check whether `committed_entries` is empty or not. If not, it means that there are some newly committed log entries which you must apply to the state machine. Of course, after applying, you need to update the applied index and resume `apply` later: