rebased
This commit is contained in:
parent
0d5e39a26d
commit
94ed876cfa
1 changed files with 1 additions and 3 deletions
|
@ -10,13 +10,11 @@
|
||||||
|
|
||||||
use std::collections::BTreeMap;
|
use std::collections::BTreeMap;
|
||||||
use std::collections::btree_map::Entry;
|
use std::collections::btree_map::Entry;
|
||||||
use std::collections::HashMap;
|
|
||||||
|
|
||||||
use rusqlite;
|
use rusqlite;
|
||||||
|
|
||||||
use errors::{
|
use errors::{
|
||||||
Result,
|
Result,
|
||||||
ErrorKind,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
use mentat_db::{
|
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())
|
Ok(txes_by_tx.into_iter().map(|(_, tx)| tx).collect())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue