Skip to content

Commit

Permalink
Fix new clippy complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Dec 29, 2023
1 parent efef9a6 commit ac609d1
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 ac609d1

Please sign in to comment.