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> {
3636 _tls_marker : PhantomData < T > ,
3737}
3838
39- impl Default for EnvOpenOptions < WithoutTls > {
39+ impl Default for EnvOpenOptions < WithTls > {
4040 fn default ( ) -> Self {
4141 Self :: new ( )
4242 }
4343}
4444
45- impl EnvOpenOptions < WithoutTls > {
45+ impl EnvOpenOptions < WithTls > {
4646 /// Creates a blank new set of options ready for configuration.
47- pub fn new ( ) -> EnvOpenOptions < WithoutTls > {
47+ pub fn new ( ) -> EnvOpenOptions < WithTls > {
4848 EnvOpenOptions {
4949 map_size : None ,
5050 max_readers : None ,
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ use crate::Result;
4646/// }
4747/// }
4848/// ```
49- pub struct RoTxn < ' e , T > {
49+ pub struct RoTxn < ' e , T = WithTls > {
5050 /// Makes the struct covariant and !Sync
5151 pub ( crate ) txn : Option < NonNull < ffi:: MDB_txn > > ,
5252 env : Cow < ' e , Env < T > > ,
You can’t perform that action at this time.
0 commit comments