Skip to content

Commit

Permalink
Doc: update doc of Leader::assign_doc_ids()
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC authored and drmingdrmer committed Jul 25, 2024
1 parent ab35b28 commit ba8bb67
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions openraft/src/proposer/leader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<C::NodeId> + 'a>(
&mut self,
Expand Down

0 comments on commit ba8bb67

Please sign in to comment.