This commit is contained in:
John Gallagher 2016-05-16 11:18:38 -05:00
parent 493446e6d1
commit 757a1f40dc

View File

@ -16,7 +16,7 @@ impl<'conn> Statement<'conn> {
match changes {
1 if prev_rowid != new_rowid => Ok(new_rowid),
1 if prev_rowid == new_rowid => Err(Error::StatementFailedToInsertRow),
_ => Err(Error::StatementChangedRows(changes))
_ => Err(Error::StatementChangedRows(changes)),
}
}