Clipplease

This commit is contained in:
dbr 2021-06-15 22:02:32 +10:00
parent e72b990ea2
commit c3bc93f631
2 changed files with 2 additions and 4 deletions

View file

@ -72,7 +72,6 @@ mod test {
); );
} }
#[test] #[test]
fn test_cleaning_command_name() { fn test_cleaning_command_name() {
assert_eq!( assert_eq!(

View file

@ -98,10 +98,9 @@ struct Txn<'t> {
impl<'t> Txn<'t> { impl<'t> Txn<'t> {
fn get_txn(&mut self) -> Result<rusqlite::Transaction, SqliteError> { fn get_txn(&mut self) -> Result<rusqlite::Transaction, SqliteError> {
Ok(self self.con
.con
.transaction() .transaction()
.map_err(|_e| SqliteError::CreateTransactionFailed)?) .map_err(|_e| SqliteError::CreateTransactionFailed)
} }
} }