Fix display for Key (#59)

The Display implementation for Key is missing the closing parenthesis.
This commit is contained in:
Kevin Darlington 2019-11-19 12:42:56 -05:00 committed by Toby Lawrence
parent 5f0708c60c
commit e926504085
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ impl Key {
impl fmt::Display for Key {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
if self.labels.is_empty() {
write!(f, "Key({}", self.name)
write!(f, "Key({})", self.name)
} else {
let kv_pairs = self
.labels