File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ use std::{
21
21
#[ allow( clippy:: module_name_repetitions) ]
22
22
pub type ValueLogId = u64 ;
23
23
24
- /// Hands out a unique (monotonically increasing) value log ID
24
+ /// Hands out a unique (monotonically increasing) value log ID.
25
25
pub fn get_next_vlog_id ( ) -> ValueLogId {
26
26
static VLOG_ID_COUNTER : AtomicU64 = AtomicU64 :: new ( 0 ) ;
27
27
VLOG_ID_COUNTER . fetch_add ( 1 , std:: sync:: atomic:: Ordering :: Relaxed )
@@ -188,7 +188,7 @@ impl ValueLog {
188
188
} ) ) )
189
189
}
190
190
191
- /// Registers writer .
191
+ /// Registers a [`SegmentWriter`] .
192
192
///
193
193
/// # Errors
194
194
///
@@ -200,7 +200,7 @@ impl ValueLog {
200
200
Ok ( ( ) )
201
201
}
202
202
203
- /// Returns segment count .
203
+ /// Returns the amount of segments in the value log .
204
204
#[ must_use]
205
205
pub fn segment_count ( & self ) -> usize {
206
206
self . manifest . len ( )
@@ -215,7 +215,7 @@ impl ValueLog {
215
215
self . get_with_prefetch ( handle, 0 )
216
216
}
217
217
218
- /// Resolves a value handle.
218
+ /// Resolves a value handle, and prefetches some values after it .
219
219
///
220
220
/// # Errors
221
221
///
You can’t perform that action at this time.
0 commit comments