Skip to content

Commit 15cfc3a

Browse files
committed
fix
1 parent 4e1f29f commit 15cfc3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/tx/partition.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ impl TransactionalPartitionHandle {
5454
/// # let folder = tempfile::tempdir()?;
5555
/// # let keyspace = Config::new(folder).open_transactional()?;
5656
/// # let partition = keyspace.open_partition("default", PartitionCreateOptions::default())?;
57-
/// assert_eq!(partition.len()?, 0);
57+
/// assert_eq!(partition.approximate_len(), 0);
5858
///
5959
/// partition.insert("1", "abc")?;
6060
/// assert_eq!(partition.approximate_len(), 1);

0 commit comments

Comments
 (0)