mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-19 06:18:56 +08:00
clippy::must_use_candidate
This commit is contained in:
@@ -169,6 +169,7 @@ impl Transaction<'_> {
|
||||
/// Get the current setting for what happens to the transaction when it is
|
||||
/// dropped.
|
||||
#[inline]
|
||||
#[must_use]
|
||||
pub fn drop_behavior(&self) -> DropBehavior {
|
||||
self.drop_behavior
|
||||
}
|
||||
@@ -296,6 +297,7 @@ impl Savepoint<'_> {
|
||||
/// Get the current setting for what happens to the savepoint when it is
|
||||
/// dropped.
|
||||
#[inline]
|
||||
#[must_use]
|
||||
pub fn drop_behavior(&self) -> DropBehavior {
|
||||
self.drop_behavior
|
||||
}
|
||||
|
Reference in New Issue
Block a user