diff options
| author | Conrad Ludgate <conradludgate@gmail.com> | 2022-05-09 07:46:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-09 07:46:52 +0100 |
| commit | 1d030b9d32f539fd38f5ff3335234c5111c3303f (patch) | |
| tree | 08619ad238362f66270919902c887c6357404bcd /src/command/client/stats.rs | |
| parent | Bump clap from 3.1.15 to 3.1.16 (#392) (diff) | |
| download | atuin-1d030b9d32f539fd38f5ff3335234c5111c3303f.zip | |
Importer V3 (#395)
* start of importer refactor
* fish
* resh
* zsh
Diffstat (limited to 'src/command/client/stats.rs')
| -rw-r--r-- | src/command/client/stats.rs | 6 |
1 files changed, 1 insertions, 5 deletions
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") |
