diff --git a/src/server/report.rs b/src/server/report.rs index 1b77f442..e89abbc5 100644 --- a/src/server/report.rs +++ b/src/server/report.rs @@ -29,8 +29,10 @@ fn commands() -> Vec<(&'static str, Vec<&'static str>)> { ] } - // (, ) -fn function_calls() -> Vec<(&'static str, fn() -> String)> { +// (description, function()) +type FunctionMapping = (&'static str, fn() -> String); + +fn function_calls() -> Vec { vec![ ("Datastores", || { let config = match datastore::config() {