From ac609d12661ac7e81c4b098adba03ea46380029a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Fri, 29 Dec 2023 16:42:47 +0000 Subject: [PATCH] Fix new clippy complaint --- nexus/catalog/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nexus/catalog/src/lib.rs b/nexus/catalog/src/lib.rs index 85f3bfd91b..32ee57c034 100644 --- a/nexus/catalog/src/lib.rs +++ b/nexus/catalog/src/lib.rs @@ -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 = first_row.get(0); let Some(workflow_id) = workflow_id else { return Err(anyhow!(