From b30629585b31c16b4dcc4ce2c30940524109ea96 Mon Sep 17 00:00:00 2001 From: "Sergey \"Shnatsel\" Davidoff" Date: Mon, 13 Jan 2025 19:13:05 +0000 Subject: [PATCH] un-pub some statics that don't have to be pub to fix build under deny(warnings) --- cli/tests/app/exit_status.rs | 2 +- cli/tests/generate_app.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/tests/app/exit_status.rs b/cli/tests/app/exit_status.rs index 2499dae5..3e897391 100644 --- a/cli/tests/app/exit_status.rs +++ b/cli/tests/app/exit_status.rs @@ -6,7 +6,7 @@ use abscissa_core::testing::CmdRunner; use once_cell::sync::Lazy; -pub static RUNNER: Lazy = Lazy::new(|| CmdRunner::default()); +static RUNNER: Lazy = Lazy::new(|| CmdRunner::default()); #[test] fn no_args() { diff --git a/cli/tests/generate_app.rs b/cli/tests/generate_app.rs index f9c50bbd..e0d1a9d4 100644 --- a/cli/tests/generate_app.rs +++ b/cli/tests/generate_app.rs @@ -19,7 +19,7 @@ const TEST_COMMANDS: &[&str] = &[ "clippy", ]; -pub static RUNNER: Lazy = Lazy::new(|| { +static RUNNER: Lazy = Lazy::new(|| { let mut runner = CmdRunner::new("cargo"); runner.exclusive(); runner