We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 059c2c3 commit 39f34d3Copy full SHA for 39f34d3
kernel/src/log_segment.rs
@@ -384,7 +384,7 @@ fn list_log_files_with_checkpoint(
384
385
/// Validates that all the checkpoint parts belong to the same checkpoint version and that all parts
386
/// are present. Returns `true` if we have a complete checkpoint, `false` otherwise.
387
-fn validate_checkpoint_parts(version: u64, checkpoint_parts: &Vec<ParsedLogPath>) -> bool {
+fn validate_checkpoint_parts(version: u64, checkpoint_parts: &[ParsedLogPath]) -> bool {
388
if checkpoint_parts.is_empty() {
389
return false;
390
}
0 commit comments