diff options
Diffstat (limited to 'src/command/history.rs')
| -rw-r--r-- | src/command/history.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/history.rs b/src/command/history.rs index e40af4d6..5d2a8050 100644 --- a/src/command/history.rs +++ b/src/command/history.rs @@ -3,7 +3,7 @@ use std::env; use eyre::Result; use structopt::StructOpt; -use crate::local::database::{Database, Sqlite}; +use crate::local::database::Database; use crate::local::history::History; #[derive(StructOpt)] @@ -41,7 +41,7 @@ fn print_list(h: &[History]) { } impl Cmd { - pub fn run(&self, db: &mut Sqlite) -> Result<()> { + pub fn run(&self, db: &mut impl Database) -> Result<()> { match self { Self::Start { command: words } => { let command = words.join(" "); |
