mirror of
https://github.com/isar/rusqlite.git
synced 2025-09-16 04:32:19 +08:00
clippy::must_use_candidate
This commit is contained in:
@@ -80,6 +80,7 @@ impl<'stmt> Rows<'stmt> {
|
||||
}
|
||||
|
||||
/// Give access to the underlying statement
|
||||
#[must_use]
|
||||
pub fn as_ref(&self) -> Option<&Statement<'stmt>> {
|
||||
self.stmt
|
||||
}
|
||||
|
Reference in New Issue
Block a user