Use the same name for type parameters

This commit is contained in:
Ivan Ukhov
2015-06-19 13:15:42 -04:00
parent bdd468d177
commit 0d079a05c6
3 changed files with 4 additions and 4 deletions

View File

@ -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)
}