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
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ fn help_command(
Ok(Value::Null) 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; }); HELP_CONTEXT.with(|ctx| { *ctx.borrow_mut() = def; });
} }