##// END OF EJS Templates
copies-rust: pre-indent some code to clarify the next changeset...
copies-rust: pre-indent some code to clarify the next changeset The next changeset will massively rewrite the next function. However having a clear diff on the core semantic of the function will help making the next changesets clearer. So we do most of the churn beforehand. Differential Revision: https://phab.mercurial-scm.org/D9301

File last commit:

r46535:ead435aa default
r46578:46a16b2c default
Show More
commands.rs
14 lines | 320 B | application/rls-services+xml | RustLexer
pub mod cat;
pub mod debugdata;
pub mod debugrequirements;
pub mod files;
pub mod root;
use crate::error::CommandError;
use crate::ui::Ui;
/// The common trait for rhg commands
///
/// Normalize the interface of the commands provided by rhg
pub trait Command {
fn run(&self, ui: &Ui) -> Result<(), CommandError>;
}