Skip to content

Commit

Permalink
fix(client): remove redundant field
Browse files Browse the repository at this point in the history
Signed-off-by: lxl66566 <[email protected]>
  • Loading branch information
lxl66566 committed Jul 11, 2024
1 parent 5321761 commit f57e690
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion crates/xline-client/src/clients/kv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ impl Debug for KvClient {
#[inline]
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("KvClient")
.field("kv_client", &self.kv_client)
.field("kv_client", &self.kv_client)
.field("token", &self.token)
.finish()
Expand Down
1 change: 0 additions & 1 deletion crates/xline-client/src/clients/lease.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ impl Debug for LeaseClient {
#[inline]
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("LeaseClient")
.field("lease_client", &self.lease_client)
.field("lease_client", &self.lease_client)
.field("token", &self.token)
.field("id_gen", &self.id_gen)
Expand Down

0 comments on commit f57e690

Please sign in to comment.