mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-06-13 23:41:22 +00:00
Use the same name for type parameters
This commit is contained in:
@ -97,7 +97,7 @@ pub type Result<T> = std::result::Result<T, Error>;
|
||||
|
||||
/// Open a connection to a new or existing database.
|
||||
#[inline]
|
||||
pub fn open<'l, P: AsRef<std::path::Path>>(path: P) -> Result<Database<'l>> {
|
||||
pub fn open<'l, T: AsRef<std::path::Path>>(path: T) -> Result<Database<'l>> {
|
||||
Database::open(path)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user