More accurate output messages

This commit is contained in:
Antoine Gersant 2016-11-06 22:40:05 -08:00
parent 84a075b173
commit 3d82ff4ef2

View file

@ -254,10 +254,10 @@ impl Index {
fn update_index(&self, db: &Connection) { fn update_index(&self, db: &Connection) {
let start = time::Instant::now(); let start = time::Instant::now();
println!("Indexing library"); println!("Beginning library index update");
self.clean(db); self.clean(db);
self.populate(db); self.populate(db);
println!("Indexing library took {} seconds", start.elapsed().as_secs()); println!("Library index update took {} seconds", start.elapsed().as_secs());
} }
fn clean(&self, db: &Connection) { fn clean(&self, db: &Connection) {