Fix display for Key (#59)
The Display implementation for Key is missing the closing parenthesis.
This commit is contained in:
parent
5f0708c60c
commit
e926504085
|
@ -147,7 +147,7 @@ impl Key {
|
||||||
impl fmt::Display for Key {
|
impl fmt::Display for Key {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||||
if self.labels.is_empty() {
|
if self.labels.is_empty() {
|
||||||
write!(f, "Key({}", self.name)
|
write!(f, "Key({})", self.name)
|
||||||
} else {
|
} else {
|
||||||
let kv_pairs = self
|
let kv_pairs = self
|
||||||
.labels
|
.labels
|
||||||
|
|
Loading…
Reference in New Issue