Skip to content

Commit f92b5ad

Browse files
committed
Fix deprecation message
1 parent 53e8319 commit f92b5ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heed/src/mdb/lmdb_flags.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ bitflags! {
2828
/// Use asynchronous msync when MDB_WRITEMAP is used.
2929
const MAP_ASYNC = ffi::MDB_MAPASYNC;
3030
/// Tie reader locktable slots to MDB_txn objects instead of to threads.
31-
#[deprecated(since="0.22.0", note="please use `Env::read_txn_with_tls` or `Env::read_txn_without_tls` instead")]
31+
#[deprecated(since="0.22.0", note="please use `EnvOpenOptions::read_txn_with_tls` or `EnvOpenOptions::read_txn_without_tls` instead")]
3232
const NO_TLS = ffi::MDB_NOTLS;
3333
/// Don't do any locking, caller must manage their own locks.
3434
const NO_LOCK = ffi::MDB_NOLOCK;

0 commit comments

Comments
 (0)