Match updated dependencies on CLI crate and remove unused import

This commit is contained in:
Emily Toop 2017-11-21 16:51:08 +00:00
parent 29ac9cdcac
commit 7b923e6826
2 changed files with 4 additions and 6 deletions

View file

@ -18,11 +18,11 @@ linefeed = "0.1"
log = "0.3"
tempfile = "1.1"
combine = "2.2.2"
lazy_static = "0.2.2"
error-chain = "0.8.1"
lazy_static = "0.2"
error-chain = { git = "https://github.com/rnewman/error-chain", branch = "rnewman/sync" }
[dependencies.rusqlite]
version = "0.11"
version = "0.12"
# System sqlite might be very old.
features = ["bundled", "limits"]

View file

@ -11,8 +11,6 @@
use std::collections::HashMap;
use std::process;
use error_chain::ChainedError;
use mentat::query::QueryResults;
use mentat_core::TypedValue;
@ -135,7 +133,7 @@ impl Repl {
let old_db_name = self.store.db_name.clone();
match self.store.close() {
Ok(_) => println!("Database {:?} closed", db_output_name(&old_db_name)),
Err(e) => println!("{}", e.display())
Err(e) => println!("{}", e)
};
}