feat(docs): finish part 2

Signed-off-by: Alex Chi <iskyzh@gmail.com>
This commit is contained in:
Alex Chi
2022-12-24 15:34:34 -05:00
parent 3ed6204400
commit f7b6d9a847
18 changed files with 601 additions and 29 deletions

View File

@@ -71,7 +71,8 @@ impl StorageIterator for LsmIterator {
}
}
/// A wrapper around existing iterator, will prevent users from calling `next` when the iterator is invalid.
/// A wrapper around existing iterator, will prevent users from calling `next` when the iterator is
/// invalid.
pub struct FusedIterator<I: StorageIterator> {
iter: I,
}

View File

@@ -16,7 +16,7 @@ pub struct SsTableBuilder {
}
impl SsTableBuilder {
/// Create a builder based on target SST size and target block size.
/// Create a builder based on target block size.
pub fn new(block_size: usize) -> Self {
Self {
data: Vec::new(),