Skip to content

Commit

Permalink
removed redundant error code
Browse files Browse the repository at this point in the history
  • Loading branch information
amunra committed Apr 11, 2024
1 parent 8dffd91 commit ac6f8b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions questdb-confstr/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ pub enum ErrorKind {
BadSeparator((char, char)),
IncompleteKeyValue,
InvalidCharInValue(char),
MissingTrailingSemicolon,
DuplicateKey(String),
}

Expand Down Expand Up @@ -130,7 +129,6 @@ impl Display for ErrorKind {
write!(f, "incomplete key-value pair before end of input")
}
ErrorKind::InvalidCharInValue(c) => write!(f, "invalid char {:?} in value", c),
ErrorKind::MissingTrailingSemicolon => write!(f, "missing trailing semicolon"),
ErrorKind::DuplicateKey(s) => write!(f, "duplicate key {:?}", s),
}
}
Expand Down

0 comments on commit ac6f8b0

Please sign in to comment.