mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-20 07:08:57 +08:00
Lifetime elision in impl
This commit is contained in:
@@ -264,7 +264,7 @@ pub enum DatabaseName<'a> {
|
||||
feature = "session",
|
||||
feature = "bundled"
|
||||
))]
|
||||
impl<'a> DatabaseName<'a> {
|
||||
impl DatabaseName<'_> {
|
||||
fn to_cstring(&self) -> Result<CString> {
|
||||
use self::DatabaseName::{Attached, Main, Temp};
|
||||
match *self {
|
||||
|
Reference in New Issue
Block a user