From ba8bb67c6d2ace2864a660dd98729977bec823b8 Mon Sep 17 00:00:00 2001 From: Steve Lau Date: Thu, 25 Jul 2024 10:25:58 +0800 Subject: [PATCH] Doc: update doc of Leader::assign_doc_ids() --- openraft/src/proposer/leader.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/openraft/src/proposer/leader.rs b/openraft/src/proposer/leader.rs index cbbe99c00..b2778bf77 100644 --- a/openraft/src/proposer/leader.rs +++ b/openraft/src/proposer/leader.rs @@ -148,10 +148,6 @@ where /// Assign log ids to the entries. /// - /// Return `()` if successful. - /// Otherwise, return `Err(current_vote)` if this Leader is not yet established(by being - /// accepted by a quorum). - /// /// This method update the `self.last_log_id`. pub(crate) fn assign_log_ids<'a, LID: RaftLogId + 'a>( &mut self,