We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b98fab4 commit a0ebac6Copy full SHA for a0ebac6
src/tx/iter.rs
@@ -46,7 +46,7 @@
46
//! # let env = Environment::builder().open(Path::new("/tmp/iter_example")).unwrap();
47
//! let txn = env.begin_ro_txn().unwrap();
48
//! let db = txn.open_db(None).unwrap();
49
-//! let mut cursor = txn.cursor(&db).unwrap();
+//! let mut cursor = txn.cursor(db).unwrap();
50
//!
51
//! // Iterate using the standard Iterator trait (owned)
52
//! for result in cursor.iter_start::<Vec<u8>, Vec<u8>>().unwrap() {
0 commit comments