src/cli/command.rs: make set_help_context private - no need to expose

This commit is contained in:
Dietmar Maurer 2019-12-01 12:54:41 +01:00
parent bca6d9120a
commit 3bf920527c

View File

@ -168,7 +168,7 @@ fn help_command(
Ok(Value::Null)
}
pub fn set_help_context(def: Option<Arc<CommandLineInterface>>) {
fn set_help_context(def: Option<Arc<CommandLineInterface>>) {
HELP_CONTEXT.with(|ctx| { *ctx.borrow_mut() = def; });
}