[][src]Macro molt::molt_ok

macro_rules! molt_ok {
    () => { ... };
    ($arg:expr) => { ... };
    ($($arg:tt)*) => { ... };
}

This module contains macros for use by command authors. Returns an Ok MoltResult.

If called with no arguments, returns an empty string as the Ok result. If called with one argument, returns the argument as the Ok result. If called with two or more arguments, computes the Ok result using format!(); the first argument is naturally the format string.