client: remove unused code

This commit is contained in:
snow flurry 2024-08-15 20:23:57 -07:00
parent 4edbe1a46d
commit 8448a93b21

View file

@ -195,19 +195,6 @@ impl From<&str> for CommandError {
}
}
impl CommandError {
fn new<S, E>(message: S, inner: E) -> Self
where
S: AsRef<str>,
E: std::error::Error + 'static,
{
Self {
message: message.as_ref().to_owned(),
inner: Some(Box::new(inner)),
}
}
}
async fn handle_command() -> Result<(), Box<dyn std::error::Error>> {
env_logger::init();