Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
discord9 committed Jan 8, 2025
1 parent b7b6d67 commit 886299a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/operator/src/insert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ impl Inserter {
.await?;

let name2info = table_infos
.iter()
.map(|(_, info)| (info.name.clone(), info.clone()))
.values()
.map(|info| (info.name.clone(), info.clone()))
.collect::<HashMap<_, _>>();
let inserts = RowToRegion::new(
name2info,
Expand Down Expand Up @@ -260,8 +260,8 @@ impl Inserter {
)
.await?;
let name2info = table_infos
.iter()
.map(|(_, info)| (info.name.clone(), info.clone()))
.values()
.map(|info| (info.name.clone(), info.clone()))
.collect::<HashMap<_, _>>();
let inserts = RowToRegion::new(name2info, instant_table_ids, &self.partition_manager)
.convert(requests)
Expand Down

0 comments on commit 886299a

Please sign in to comment.