From 3bf920527ca926780433f3fd6aac1c523c727b4a Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sun, 1 Dec 2019 12:54:41 +0100 Subject: [PATCH] src/cli/command.rs: make set_help_context private - no need to expose --- src/cli/command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/command.rs b/src/cli/command.rs index 22f70313..1cd3b1a0 100644 --- a/src/cli/command.rs +++ b/src/cli/command.rs @@ -168,7 +168,7 @@ fn help_command( Ok(Value::Null) } -pub fn set_help_context(def: Option>) { +fn set_help_context(def: Option>) { HELP_CONTEXT.with(|ctx| { *ctx.borrow_mut() = def; }); }