Skip to content

Commit

Permalink
Fix new clippy complaint (#933)
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex authored Dec 29, 2023
1 parent 1619c93 commit d8a0d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nexus/catalog/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ impl Catalog {
return Ok(None);
}

let first_row = rows.get(0).unwrap();
let first_row = rows.first().unwrap();
let workflow_id: Option<String> = first_row.get(0);
let Some(workflow_id) = workflow_id else {
return Err(anyhow!(
Expand Down

0 comments on commit d8a0d0f

Please sign in to comment.