From 94c59b8668f266b42593940942fbb64e0379bdb5 Mon Sep 17 00:00:00 2001 From: Patrick Huang Date: Tue, 12 Sep 2023 14:14:19 +0800 Subject: [PATCH] clippy --- src/storage/src/hummock/store/hummock_storage.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/src/hummock/store/hummock_storage.rs b/src/storage/src/hummock/store/hummock_storage.rs index a67bbe8cfc513..a4bafcdb99c07 100644 --- a/src/storage/src/hummock/store/hummock_storage.rs +++ b/src/storage/src/hummock/store/hummock_storage.rs @@ -296,7 +296,7 @@ impl HummockStorage { .cloned() .collect_vec() }) - .unwrap_or(Vec::new()) + .unwrap_or_default() }; // When the system has just started and no state has been created, the memory state