From bfe461a2b7bc5a2ad6269d4aced38d86dc18ce88 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Fri, 1 Jan 2021 22:39:52 +0800 Subject: [PATCH] style: new line --- __crypto/simple_contract/src/cmd.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/__crypto/simple_contract/src/cmd.rs b/__crypto/simple_contract/src/cmd.rs index 8cdc3f5..3a0da05 100644 --- a/__crypto/simple_contract/src/cmd.rs +++ b/__crypto/simple_contract/src/cmd.rs @@ -4,6 +4,8 @@ pub type CommandError = XResult<()>; pub trait Command { fn name(&self) -> &str; + fn subcommand<'a>(&self) -> App<'a, 'a>; + fn run(&self, arg_matches: &ArgMatches, _: &ArgMatches) -> CommandError; }