From 1d030b9d32f539fd38f5ff3335234c5111c3303f Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Mon, 9 May 2022 07:46:52 +0100 Subject: Importer V3 (#395) * start of importer refactor * fish * resh * zsh --- src/command/client/stats.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/command/client/stats.rs') diff --git a/src/command/client/stats.rs b/src/command/client/stats.rs index 80450989..157496de 100644 --- a/src/command/client/stats.rs +++ b/src/command/client/stats.rs @@ -62,11 +62,7 @@ fn compute_stats(history: &[History]) -> Result<()> { } impl Cmd { - pub async fn run( - &self, - db: &mut (impl Database + Send + Sync), - settings: &Settings, - ) -> Result<()> { + pub async fn run(&self, db: &mut impl Database, settings: &Settings) -> Result<()> { let context = current_context(); let words = if self.period.is_empty() { String::from("all") -- cgit v1.3.1