clidispatch: remove unused dispatch function

Reviewed By: quark-zju

Differential Revision: D27243030

fbshipit-source-id: 82fe0940658e760b96d0ce318415434003597d2e
This commit is contained in:
Arun Kulshreshtha 2021-03-22 22:07:41 -07:00 committed by Facebook GitHub Bot
parent c13c6cb4fd
commit 9e251b0dce

View File

@ -312,8 +312,3 @@ impl Dispatcher {
}
}
}
pub fn dispatch(command_table: &CommandTable, args: &[String], io: &IO) -> Result<u8> {
let dispatcher = Dispatcher::from_args(args.to_vec())?;
dispatcher.run_command(command_table, io)
}