diff --git a/src/lib.rs b/src/lib.rs index 585b54f..d08e318 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -208,7 +208,7 @@ impl Connection { /// Will return `Err` if `path` cannot be converted to a C-compatible string or if the /// underlying SQLite open call fails. pub fn open>(path: P) -> Result { - let flags = Default::default(); + let flags = OpenFlags::default(); Connection::open_with_flags(path, flags) } @@ -218,7 +218,7 @@ impl Connection { /// /// Will return `Err` if the underlying SQLite open call fails. pub fn open_in_memory() -> Result { - let flags = Default::default(); + let flags = OpenFlags::default(); Connection::open_in_memory_with_flags(flags) }