Skip to content

Commit

Permalink
Fix clippy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaskrause committed Oct 8, 2024
1 parent fa2618d commit 455a622
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/importer/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ impl ImportTable {
}

// Add all columns as token annotations
for i in 0..column_names.len() {
for (i, name) in column_names.iter().enumerate() {
if let Some(val) = record.get(i) {
let (ns, name) = split_qname(&column_names[i]);
let (ns, name) = split_qname(name);
update.add_event(UpdateEvent::AddNodeLabel {
node_name: node_name.clone(),
anno_ns: ns.unwrap_or_default().to_string(),
Expand Down

0 comments on commit 455a622

Please sign in to comment.