From 199563550dd41c3dfb703bd3747604a8a03cdbc5 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 11 Jun 2026 14:20:49 +0200 Subject: chore: Remove all `pub`s They will not be marked by rustc/cargo as unused, and as atuin doesn't expose an API all of them _should_ be `pub(crate)` --- crates/turtle/src/command/client/store.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/turtle/src/command/client/store.rs') diff --git a/crates/turtle/src/command/client/store.rs b/crates/turtle/src/command/client/store.rs index dfa3b66c..3e9355b5 100644 --- a/crates/turtle/src/command/client/store.rs +++ b/crates/turtle/src/command/client/store.rs @@ -22,7 +22,7 @@ mod verify; #[derive(Subcommand, Debug)] #[command(infer_subcommands = true)] -pub enum Cmd { +pub(crate) enum Cmd { /// Print the current status of the record store Status, @@ -48,7 +48,7 @@ pub enum Cmd { } impl Cmd { - pub async fn run( + pub(crate) async fn run( &self, settings: &Settings, database: &dyn Database, @@ -69,7 +69,7 @@ impl Cmd { } } - pub async fn status(&self, store: SqliteStore) -> Result<()> { + pub(crate) async fn status(&self, store: SqliteStore) -> Result<()> { let host_id = Settings::host_id().await?; let offset = UtcOffset::current_local_offset().unwrap_or(UtcOffset::UTC); -- cgit v1.3.1