clippy::semicolon_if_nothing_returned

This commit is contained in:
gwenn
2022-01-05 19:53:49 +01:00
committed by Thom Chiovoloni
parent 406ac6a7fc
commit 68f41d6e9e
7 changed files with 14 additions and 14 deletions

View File

@@ -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.