mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
clidispatch: remove unused dispatch function
Reviewed By: quark-zju Differential Revision: D27243030 fbshipit-source-id: 82fe0940658e760b96d0ce318415434003597d2e
This commit is contained in:
parent
c13c6cb4fd
commit
9e251b0dce
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user