mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-19 06:18:56 +08:00
clippy::semicolon_if_nothing_returned
This commit is contained in:
@@ -178,7 +178,7 @@ impl Transaction<'_> {
|
||||
/// dropped.
|
||||
#[inline]
|
||||
pub fn set_drop_behavior(&mut self, drop_behavior: DropBehavior) {
|
||||
self.drop_behavior = drop_behavior
|
||||
self.drop_behavior = drop_behavior;
|
||||
}
|
||||
|
||||
/// A convenience method which consumes and commits a transaction.
|
||||
@@ -306,7 +306,7 @@ impl Savepoint<'_> {
|
||||
/// dropped.
|
||||
#[inline]
|
||||
pub fn set_drop_behavior(&mut self, drop_behavior: DropBehavior) {
|
||||
self.drop_behavior = drop_behavior
|
||||
self.drop_behavior = drop_behavior;
|
||||
}
|
||||
|
||||
/// A convenience method which consumes and commits a savepoint.
|
||||
|
Reference in New Issue
Block a user