Add doc to Module trait

This commit is contained in:
Matthias Beyer 2015-12-29 16:55:28 +01:00
parent 89cc625133
commit dc181ba8eb

View file

@ -11,6 +11,9 @@ use runtime::Runtime;
pub mod bm;
pub mod helpers;
/**
* Module interface, each module has to implement this.
*/
pub trait Module<'a> : Debug {
fn exec(&self, matches: &ArgMatches) -> bool;
fn name(&self) -> &'static str;