Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
CookiePieWw committed Dec 20, 2024
1 parent 30bab10 commit 2d1329d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta-srv/src/election.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub enum LeaderChangeMessage {
}

/// LeaderKey is a key that represents the leader of metasrv.
/// The structure is correponding to [etcd_client::LeaderKey].
/// The structure is corresponding to [etcd_client::LeaderKey].
pub trait LeaderKey: Send + Sync + Debug {
/// The name in byte. name is the election identifier that corresponds to the leadership key.
fn name(&self) -> &[u8];
Expand Down

0 comments on commit 2d1329d

Please sign in to comment.