From 94ed876cfab5d9740ea5585272f5afca29b9e998 Mon Sep 17 00:00:00 2001 From: Grisha Kruglov Date: Thu, 1 Feb 2018 19:52:36 -0500 Subject: [PATCH] rebased --- tolstoy/src/tx_client.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tolstoy/src/tx_client.rs b/tolstoy/src/tx_client.rs index 5c9103f0..a9d3e5a0 100644 --- a/tolstoy/src/tx_client.rs +++ b/tolstoy/src/tx_client.rs @@ -10,13 +10,11 @@ use std::collections::BTreeMap; use std::collections::btree_map::Entry; -use std::collections::HashMap; use rusqlite; use errors::{ Result, - ErrorKind, }; use mentat_db::{ @@ -132,7 +130,7 @@ impl TxReader for TxClient { } } - // Finally, consume the Tx map and a Vec of its values. + // Finally, consume the Tx map into a Vec of its values. Ok(txes_by_tx.into_iter().map(|(_, tx)| tx).collect()) } }