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 4e1f29f commit 15cfc3aCopy full SHA for 15cfc3a
src/tx/partition.rs
@@ -54,7 +54,7 @@ impl TransactionalPartitionHandle {
54
/// # let folder = tempfile::tempdir()?;
55
/// # let keyspace = Config::new(folder).open_transactional()?;
56
/// # let partition = keyspace.open_partition("default", PartitionCreateOptions::default())?;
57
- /// assert_eq!(partition.len()?, 0);
+ /// assert_eq!(partition.approximate_len(), 0);
58
///
59
/// partition.insert("1", "abc")?;
60
/// assert_eq!(partition.approximate_len(), 1);
0 commit comments