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 15cfc3a commit 4be67afCopy full SHA for 4be67af
src/partition/mod.rs
@@ -478,7 +478,7 @@ impl PartitionHandle {
478
/// # let folder = tempfile::tempdir()?;
479
/// # let keyspace = Config::new(folder).open()?;
480
/// # let partition = keyspace.open_partition("default", PartitionCreateOptions::default())?;
481
- /// assert_eq!(partition.len()?, 0);
+ /// assert_eq!(partition.approximate_len(), 0);
482
///
483
/// partition.insert("1", "abc")?;
484
/// assert_eq!(partition.approximate_len(), 1);
0 commit comments