client: remove unused code
This commit is contained in:
parent
4edbe1a46d
commit
8448a93b21
1 changed files with 0 additions and 13 deletions
|
@ -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>> {
|
async fn handle_command() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
env_logger::init();
|
env_logger::init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue