We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 263d504 commit d6c8aeaCopy full SHA for d6c8aea
heed/src/cookbook.rs
@@ -592,12 +592,10 @@
592
//!
593
//! ```
594
//! use std::error::Error;
595
-//! use std::fs;
596
-//! use std::path::Path;
597
598
//! use heed::byteorder::NativeEndian;
599
//! use heed::types::*;
600
-//! use heed::{Database, DatabaseFlags, EnvOpenOptions};
+//! use heed::EnvOpenOptions;
601
602
//! fn main() -> Result<(), Box<dyn Error>> {
603
//! let path = tempfile::tempdir()?;
@@ -626,7 +624,7 @@
626
624
//! let txn = env.read_txn()?;
627
625
//! let key: Vec<u8> = vec![1, 2, 3, 4];
628
629
-//! for res in db
+//! for result in db
630
//! .range(
631
//! &txn,
632
//! &(
0 commit comments