We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0776da4 commit a3c4f74Copy full SHA for a3c4f74
heed/src/txn.rs
@@ -210,6 +210,8 @@ impl TlsUsage for WithoutTls {
210
}
211
212
impl TlsUsage for AnyTls {
213
+ // Users cannot open environments with AnyTls; therefore, this will never be read.
214
+ // We prefer to put the most restrictive value.
215
const ENABLED: bool = false;
216
217
@@ -273,7 +275,6 @@ impl<'p> RwTxn<'p> {
273
275
Ok(RwTxn {
274
276
txn: RoTxn {
277
inner: RoTxnInner { txn: NonNull::new(txn), env: Cow::Borrowed(&env.inner) },
-
278
_tls_marker: PhantomData,
279
},
280
})
0 commit comments