mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 03:11:36 +08:00
Silence clippy's complaint about unelided lifetime in session.rs
This commit is contained in:
parent
749266cae9
commit
1aeea123dd
@ -29,7 +29,7 @@ pub struct Session<'conn> {
|
||||
|
||||
impl Session<'_> {
|
||||
/// Create a new session object
|
||||
pub fn new<'conn>(db: &'conn Connection) -> Result<Session<'conn>> {
|
||||
pub fn new(db: &Connection) -> Result<Session<'_>> {
|
||||
Session::new_with_name(db, DatabaseName::Main)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user