Skip to content

Commit 39f34d3

Browse files
committed
clippy
1 parent 059c2c3 commit 39f34d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/src/log_segment.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ fn list_log_files_with_checkpoint(
384384

385385
/// Validates that all the checkpoint parts belong to the same checkpoint version and that all parts
386386
/// are present. Returns `true` if we have a complete checkpoint, `false` otherwise.
387-
fn validate_checkpoint_parts(version: u64, checkpoint_parts: &Vec<ParsedLogPath>) -> bool {
387+
fn validate_checkpoint_parts(version: u64, checkpoint_parts: &[ParsedLogPath]) -> bool {
388388
if checkpoint_parts.is_empty() {
389389
return false;
390390
}

0 commit comments

Comments
 (0)