Skip to content

Commit 0776da4

Browse files
committed
fix heed3
1 parent 726ec06 commit 0776da4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

heed/src/databases/encrypted_database.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

6060
impl<'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

Comments
 (0)