File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,15 @@ pub struct EnvOpenOptions<T: TlsUsage> {
36
36
_tls_marker : PhantomData < T > ,
37
37
}
38
38
39
- impl Default for EnvOpenOptions < WithoutTls > {
39
+ impl Default for EnvOpenOptions < WithTls > {
40
40
fn default ( ) -> Self {
41
41
Self :: new ( )
42
42
}
43
43
}
44
44
45
- impl EnvOpenOptions < WithoutTls > {
45
+ impl EnvOpenOptions < WithTls > {
46
46
/// Creates a blank new set of options ready for configuration.
47
- pub fn new ( ) -> EnvOpenOptions < WithoutTls > {
47
+ pub fn new ( ) -> EnvOpenOptions < WithTls > {
48
48
EnvOpenOptions {
49
49
map_size : None ,
50
50
max_readers : None ,
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ use crate::Result;
46
46
/// }
47
47
/// }
48
48
/// ```
49
- pub struct RoTxn < ' e , T > {
49
+ pub struct RoTxn < ' e , T = WithTls > {
50
50
/// Makes the struct covariant and !Sync
51
51
pub ( crate ) txn : Option < NonNull < ffi:: MDB_txn > > ,
52
52
env : Cow < ' e , Env < T > > ,
You can’t perform that action at this time.
0 commit comments