refactor(error_report): remove dead code
This commit is contained in:
parent
620259af48
commit
faedfadeab
5 changed files with 7 additions and 70 deletions
|
|
@ -14,18 +14,3 @@ impl MetaCommand {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum MetaCommandParseError {
|
||||
Unrecognized { cmd: String },
|
||||
}
|
||||
|
||||
impl std::fmt::Display for MetaCommandParseError {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
match self {
|
||||
MetaCommandParseError::Unrecognized { cmd } => {
|
||||
write!(f, "unrecognized meta-command {cmd:?}")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue