From dc181ba8eb903f3850e15e3bc8e7bc1e725e2a56 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 29 Dec 2015 16:55:28 +0100 Subject: [PATCH] Add doc to Module trait --- src/module/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/module/mod.rs b/src/module/mod.rs index 3c907d78..95f0b7be 100644 --- a/src/module/mod.rs +++ b/src/module/mod.rs @@ -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;