mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-14 06:46:56 +00:00
fix(mito2): drop a needless borrow in series-index reconciliation
`files` is already a reference after the merge, so `&files` tripped clippy::needless_borrow and failed CI's `-D warnings`. Signed-off-by: discord9 <discord9@163.com>
This commit is contained in:
@@ -268,7 +268,7 @@ async fn build_index_version(
|
||||
let width = i64::try_from(requested_bucket_width.as_secs())
|
||||
.unwrap_or(i64::MAX)
|
||||
.max(1);
|
||||
group_files_into_series_buckets(&files, width, width)
|
||||
group_files_into_series_buckets(files, width, width)
|
||||
}
|
||||
(true, None) => {
|
||||
debug!(
|
||||
|
||||
Reference in New Issue
Block a user