Skip to content

Commit a0ebac6

Browse files
committed
fix: doc
1 parent b98fab4 commit a0ebac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tx/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
//! # let env = Environment::builder().open(Path::new("/tmp/iter_example")).unwrap();
4747
//! let txn = env.begin_ro_txn().unwrap();
4848
//! let db = txn.open_db(None).unwrap();
49-
//! let mut cursor = txn.cursor(&db).unwrap();
49+
//! let mut cursor = txn.cursor(db).unwrap();
5050
//!
5151
//! // Iterate using the standard Iterator trait (owned)
5252
//! for result in cursor.iter_start::<Vec<u8>, Vec<u8>>().unwrap() {

0 commit comments

Comments
 (0)