@@ -53,8 +53,8 @@ use crate::*;
5353/// # Ok(()) }
5454/// ```
5555#[ derive( Debug ) ]
56- pub struct EncryptedDatabaseOpenOptions < ' e , ' n , KC , DC , C = DefaultComparator > {
57- inner : DatabaseOpenOptions < ' e , ' n , KC , DC , C > ,
56+ pub struct EncryptedDatabaseOpenOptions < ' e , ' n , T , KC , DC , C = DefaultComparator > {
57+ inner : DatabaseOpenOptions < ' e , ' n , T , KC , DC , C > ,
5858}
5959
6060impl < ' e , T > EncryptedDatabaseOpenOptions < ' e , ' static , T , Unspecified , Unspecified > {
@@ -64,7 +64,7 @@ impl<'e, T> EncryptedDatabaseOpenOptions<'e, 'static, T, Unspecified, Unspecifie
6464 }
6565}
6666
67- impl < ' e , ' n , KC , DC , C > EncryptedDatabaseOpenOptions < ' e , ' n , KC , DC , C > {
67+ impl < ' e , ' n , T , KC , DC , C > EncryptedDatabaseOpenOptions < ' e , ' n , T , KC , DC , C > {
6868 /// Change the type of the database.
6969 ///
7070 /// The default types are [`Unspecified`] and require a call to [`Database::remap_types`]
@@ -75,7 +75,7 @@ impl<'e, 'n, KC, DC, C> EncryptedDatabaseOpenOptions<'e, 'n, KC, DC, C> {
7575 /// Change the customized key compare function of the database.
7676 ///
7777 /// By default no customized compare function will be set when opening a database.
78- pub fn key_comparator < NC > ( self ) -> EncryptedDatabaseOpenOptions < ' e , ' n , KC , DC , NC > {
78+ pub fn key_comparator < NC > ( self ) -> EncryptedDatabaseOpenOptions < ' e , ' n , T , KC , DC , NC > {
7979 EncryptedDatabaseOpenOptions { inner : self . inner . key_comparator ( ) }
8080 }
8181
0 commit comments