From 520abf10c61fb7c1e5cffae95c25b4e0d0180580 Mon Sep 17 00:00:00 2001 From: acdenisSK Date: Tue, 21 Nov 2017 16:13:32 +0100 Subject: Actually remove the `init` call in `CreateCommand` --- src/framework/standard/create_command.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/framework') diff --git a/src/framework/standard/create_command.rs b/src/framework/standard/create_command.rs index 3a6601f..4137b91 100644 --- a/src/framework/standard/create_command.rs +++ b/src/framework/standard/create_command.rs @@ -212,11 +212,7 @@ impl CreateCommand { Arc::new(A(Arc::new(options), func)) }, - FnOrCommand::Command(cmd) => { - cmd.init(); - - cmd - }, + FnOrCommand::Command(cmd) => cmd, } } } -- cgit v1.2.3