Skip to content

Commit 4be67af

Browse files
committed
doc
1 parent 15cfc3a commit 4be67af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/partition/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ impl PartitionHandle {
478478
/// # let folder = tempfile::tempdir()?;
479479
/// # let keyspace = Config::new(folder).open()?;
480480
/// # let partition = keyspace.open_partition("default", PartitionCreateOptions::default())?;
481-
/// assert_eq!(partition.len()?, 0);
481+
/// assert_eq!(partition.approximate_len(), 0);
482482
///
483483
/// partition.insert("1", "abc")?;
484484
/// assert_eq!(partition.approximate_len(), 1);

0 commit comments

Comments
 (0)