Clipplease
This commit is contained in:
@@ -72,7 +72,6 @@ mod test {
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
#[test]
|
||||
fn test_cleaning_command_name() {
|
||||
assert_eq!(
|
||||
|
||||
@@ -98,10 +98,9 @@ struct Txn<'t> {
|
||||
|
||||
impl<'t> Txn<'t> {
|
||||
fn get_txn(&mut self) -> Result<rusqlite::Transaction, SqliteError> {
|
||||
Ok(self
|
||||
.con
|
||||
self.con
|
||||
.transaction()
|
||||
.map_err(|_e| SqliteError::CreateTransactionFailed)?)
|
||||
.map_err(|_e| SqliteError::CreateTransactionFailed)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user