Skip to content

Commit

Permalink
un-pub some statics that don't have to be pub to fix build under deny…
Browse files Browse the repository at this point in the history
…(warnings)
  • Loading branch information
Shnatsel committed Jan 13, 2025
1 parent 091c84d commit b306295
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/tests/app/exit_status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use abscissa_core::testing::CmdRunner;
use once_cell::sync::Lazy;

pub static RUNNER: Lazy<CmdRunner> = Lazy::new(|| CmdRunner::default());
static RUNNER: Lazy<CmdRunner> = Lazy::new(|| CmdRunner::default());

#[test]
fn no_args() {
Expand Down
2 changes: 1 addition & 1 deletion cli/tests/generate_app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const TEST_COMMANDS: &[&str] = &[
"clippy",
];

pub static RUNNER: Lazy<CmdRunner> = Lazy::new(|| {
static RUNNER: Lazy<CmdRunner> = Lazy::new(|| {
let mut runner = CmdRunner::new("cargo");
runner.exclusive();
runner
Expand Down

0 comments on commit b306295

Please sign in to comment.