From 097937bb0e81bbb975f4b7d3be17f4cf48e97f61 Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Sun, 28 Jan 2024 10:20:04 +0100 Subject: [PATCH] pointers_yielded -> num_pointers_yielded (#773) --- crates/table/src/btree_index.rs | 2 +- crates/table/src/table.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/table/src/btree_index.rs b/crates/table/src/btree_index.rs index eed5aa3d0f7..60497450cf8 100644 --- a/crates/table/src/btree_index.rs +++ b/crates/table/src/btree_index.rs @@ -54,7 +54,7 @@ impl Iterator for BTreeIndexRangeIter<'_> { impl BTreeIndexRangeIter<'_> { /// Returns the current number of pointers the iterator has returned thus far. - pub fn pointers_yielded(&self) -> u64 { + pub fn num_pointers_yielded(&self) -> u64 { self.num_pointers_yielded } } diff --git a/crates/table/src/table.rs b/crates/table/src/table.rs index 5fe5dec7049..c3aea4c57a9 100644 --- a/crates/table/src/table.rs +++ b/crates/table/src/table.rs @@ -610,8 +610,8 @@ impl<'a> Iterator for IndexScanIter<'a> { impl IndexScanIter<'_> { /// Returns the current number of pointers the iterator has returned thus far. - pub fn pointers_yielded(&self) -> u64 { - self.btree_index_iter.pointers_yielded() + pub fn num_pointers_yielded(&self) -> u64 { + self.btree_index_iter.num_pointers_yielded() } }