Skip to content

Commit 75f2a16

Browse files
authored
Update value_log.rs
1 parent 654c03b commit 75f2a16

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/value_log.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use std::{
2121
#[allow(clippy::module_name_repetitions)]
2222
pub type ValueLogId = u64;
2323

24-
/// Hands out a unique (monotonically increasing) value log ID
24+
/// Hands out a unique (monotonically increasing) value log ID.
2525
pub fn get_next_vlog_id() -> ValueLogId {
2626
static VLOG_ID_COUNTER: AtomicU64 = AtomicU64::new(0);
2727
VLOG_ID_COUNTER.fetch_add(1, std::sync::atomic::Ordering::Relaxed)
@@ -188,7 +188,7 @@ impl ValueLog {
188188
})))
189189
}
190190

191-
/// Registers writer.
191+
/// Registers a [`SegmentWriter`].
192192
///
193193
/// # Errors
194194
///
@@ -200,7 +200,7 @@ impl ValueLog {
200200
Ok(())
201201
}
202202

203-
/// Returns segment count.
203+
/// Returns the amount of segments in the value log.
204204
#[must_use]
205205
pub fn segment_count(&self) -> usize {
206206
self.manifest.len()
@@ -215,7 +215,7 @@ impl ValueLog {
215215
self.get_with_prefetch(handle, 0)
216216
}
217217

218-
/// Resolves a value handle.
218+
/// Resolves a value handle, and prefetches some values after it.
219219
///
220220
/// # Errors
221221
///

0 commit comments

Comments
 (0)